如何确定kubernetes依赖的各个组件版本?

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了如何确定kubernetes依赖的各个组件版本?相关的知识,希望对你有一定的参考价值。

综述

简单来讲:kubernetes依赖的各个组件版本都可以在对应的changlog中找到
比如1.10版本依赖情况如下:
https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.10.md#external-dependencies

下面简单示例总结一下:

k8s v1.10依赖版本选择

1.10.0依赖包:

https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.10.md#external-dependencies
External Dependencies
● The supported etcd server version is 3.1.12, as compared to 3.0.17 in v1.9 (#60988)
● The validated docker versions are the same as for v1.9: 1.11.2 to 1.13.1 and 17.03.x (ref)
● The Go version is go1.9.3, as compared to go1.9.2 in v1.9. (#59012)
● The minimum supported go is the same as for v1.9: go1.9.1. (#55301)
● CNI is the same as v1.9: v0.6.0 (#51250)
● CSI is updated to 0.2.0 as compared to 0.1.0 in v1.9. (#60736)
● The dashboard add-on has been updated to v1.8.3, as compared to 1.8.0 in v1.9. (#517326)
● Heapster has is the same as v1.9: v1.5.0. It will be upgraded in v1.11. (ref)
● Cluster Autoscaler has been updated to v1.2.0. (#60842, @mwielgus)
● Updates kube-dns to v1.14.8 (#57918, @rramkumar1)
● Influxdb is unchanged from v1.9: v1.3.3 (#53319)
● Grafana is unchanged from v1.9: v4.4.3 (#53319)
● CAdvisor is v0.29.1 (#60867)
● fluentd-gcp-scaler is v0.3.0 (#61269)
● Updated fluentd in fluentd-es-image to fluentd v1.1.0 (#58525, @monotek)
● fluentd-elasticsearch is v2.0.4 (#58525)
● Updated fluentd-gcp to v3.0.0. (#60722)
● Ingress glbc is v1.0.0 (#61302)
● OIDC authentication is coreos/go-oidc v2 (#58544)
● Updated fluentd-gcp updated to v2.0.11. (#56927, @x13n)
● Calico has been updated to v2.6.7 (#59130, @caseydavenport)

依赖镜像:
docker pull k8s.gcr.io/kube-proxy-amd64:v1.10.0
docker pull k8s.gcr.io/kube-scheduler-amd64:v1.10.0
docker pull k8s.gcr.io/kube-controller-manager-amd64:v1.10.0
docker pull k8s.gcr.io/kube-apiserver-amd64:v1.10.0
docker pull k8s.gcr.io/etcd-amd64:3.1.12
docker pull quay.io/coreos/flannel:v0.10.0-amd64
docker pull k8s.gcr.io/k8s-dns-dnsmasq-nanny-amd64:1.14.8
docker pull k8s.gcr.io/k8s-dns-sidecar-amd64:1.14.8
docker pull k8s.gcr.io/k8s-dns-kube-dns-amd64:1.14.8
docker pull k8s.gcr.io/pause-amd64:3.1
docker pull k8s.gcr.io/kubernetes-dashboard-amd64:v1.8.3
docker pull k8s.gcr.io/heapster-influxdb-amd64:v1.3.3
docker pull k8s.gcr.io/heapster-grafana-amd64:v4.4.3
docker pull k8s.gcr.io/heapster-amd64:v1.4.2

1.10.1依赖包:

镜像更新:
docker pull k8s.gcr.io/kube-proxy-amd64:v1.10.1
docker pull k8s.gcr.io/kube-scheduler-amd64:v1.10.1
docker pull k8s.gcr.io/kube-controller-manager-amd64:v1.10.1
docker pull k8s.gcr.io/kube-apiserver-amd64:v1.10.1
docker pull k8s.gcr.io/k8s-dns-dnsmasq-nanny-amd64:1.14.9
docker pull k8s.gcr.io/k8s-dns-sidecar-amd64:1.14.9
docker pull k8s.gcr.io/k8s-dns-kube-dns-amd64:1.14.9

docker pull k8s.gcr.io/heapster-amd64:v1.5.2

https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.10.md#other-notable-changes

以上是关于如何确定kubernetes依赖的各个组件版本?的主要内容,如果未能解决你的问题,请参考以下文章

Kubernetes学习总结(13)—— Kubernetes 各个组件的概念

Kubernetes学习总结(13)—— Kubernetes 各个组件的概念

01-Kubernetes 组件介绍

kubernetes各个版本支持时间是多长?

Kubernetes集群安全配置

kubernetes架构-组件交互篇