kubeadm 1.14 的组件版本是?
来源:1-5 下载Kubeadm,node组件和命令行工具
冼星扉
2019-06-16
docker pull anjia0532/kube-apiserver-amd64:v1.10.2
docker pull anjia0532/kube-controller-manager-amd64:v1.10.2
docker pull anjia0532/kube-scheduler-amd64:v1.10.2
docker pull anjia0532/kube-proxy-amd64:v1.10.2
docker pull anjia0532/etcd-amd64:3.1.12
docker pull anjia0532/pause-amd64:3.1
docker pull anjia0532/k8s-dns-sidecar-amd64:1.14.8
docker pull anjia0532/k8s-dns-kube-dns-amd64:1.14.8
docker pull anjia0532/k8s-dns-dnsmasq-nanny-amd64:1.14.8
视频里是这些版本,1.14也适配吗?
3回答
-
如果要安装k8s 1.14,要确认对应的image版本,一种方法是从已经安装好的k8s 1.14集群上获取镜像版本信息;另外一种方法通过kubeadm(1.14版本) init 提供的dry-run获取对应镜像版本信息:
以k8s 1.10.2为例:
# kubeadm init --dry-run > 1.txt 2>&1
# grep "image: " 1.txt
image: k8s.gcr.io/kube-apiserver-amd64:v1.10.2
image: k8s.gcr.io/kube-controller-manager-amd64:v1.10.2
image: k8s.gcr.io/kube-scheduler-amd64:v1.10.2
image: ""
image: k8s.gcr.io/k8s-dns-kube-dns-amd64:1.14.8
image: k8s.gcr.io/k8s-dns-dnsmasq-nanny-amd64:1.14.8
image: k8s.gcr.io/k8s-dns-sidecar-amd64:1.14.8
image: k8s.gcr.io/kube-proxy-amd64:v1.10.2
... ...
012019-06-16 -
冼星扉
提问者
2019-06-16
docker pull registry.cn-hangzhou.aliyuncs.com/google_containers/kube-apiserver:v1.14.3 docker pull registry.cn-hangzhou.aliyuncs.com/google_containers/kube-controller-manager:v1.14.3 docker pull registry.cn-hangzhou.aliyuncs.com/google_containers/kube-scheduler:v1.14.3 docker pull registry.cn-hangzhou.aliyuncs.com/google_containers/kube-proxy:v1.14.3 docker pull registry.cn-hangzhou.aliyuncs.com/google_containers/etcd:3.3.10 docker pull registry.cn-hangzhou.aliyuncs.com/google_containers/pause:3.1 docker pull registry.cn-hangzhou.aliyuncs.com/google_containers/k8s-dns-sidecar-amd64:1.14.8 docker pull registry.cn-hangzhou.aliyuncs.com/google_containers/k8s-dns-kube-dns-amd64:1.14.8 docker pull registry.cn-hangzhou.aliyuncs.com/google_containers/k8s-dns-dnsmasq-nanny-amd64:1.14.8 docker pull registry.cn-hangzhou.aliyuncs.com/google_containers/coredns:1.3.1 # tag docker tag registry.cn-hangzhou.aliyuncs.com/google_containers/kube-apiserver:v1.14.3 k8s.gcr.io/kube-apiserver:v1.14.3 docker tag registry.cn-hangzhou.aliyuncs.com/google_containers/kube-scheduler:v1.14.3 k8s.gcr.io/kube-scheduler:v1.14.3 docker tag registry.cn-hangzhou.aliyuncs.com/google_containers/kube-controller-manager:v1.14.3 k8s.gcr.io/kube-controller-manager:v1.14.3 docker tag registry.cn-hangzhou.aliyuncs.com/google_containers/kube-proxy:v1.14.3 k8s.gcr.io/kube-proxy:v1.14.3 docker tag registry.cn-hangzhou.aliyuncs.com/google_containers/etcd:3.3.10 k8s.gcr.io/etcd:3.3.10 docker tag registry.cn-hangzhou.aliyuncs.com/google_containers/pause:3.1 k8s.gcr.io/pause:3.1 docker tag registry.cn-hangzhou.aliyuncs.com/google_containers/k8s-dns-sidecar-amd64:1.14.8 k8s.gcr.io/k8s-dns-sidecar-amd64:1.14.8 docker tag registry.cn-hangzhou.aliyuncs.com/google_containers/k8s-dns-kube-dns-amd64:1.14.8 k8s.gcr.io/k8s-dns-kube-dns-amd64:1.14.8 docker tag registry.cn-hangzhou.aliyuncs.com/google_containers/k8s-dns-dnsmasq-nanny-amd64:1.14.8 k8s.gcr.io/k8s-dns-dnsmasq-nanny-amd64:1.14.8 # 这个是新增,对比视频里面 docker tag registry.cn-hangzhou.aliyuncs.com/google_containers/coredns:1.3.1 k8s.gcr.io/coredns:1.3.1
012019-06-16 -
tonybai
2019-06-16
亲,您好。您是说这些版本适合于k8s 1.14版本么?这些版本不适合于k8s 1.14。祝学习愉快!
00
相似问题