码迷,mamicode.com
首页 > 其他好文 > 详细

3.Kubeadm方式安装

时间:2019-08-24 21:15:32      阅读:108      评论:0      收藏:0      [点我收藏+]

标签:k8s   serve   schedule   方式安装   red   rmi   aliyun   etcd   nod   

 

 

主节点docker pull脚本:

#下载镜像
docker pull registry.cn-hangzhou.aliyuncs.com/liuyi01/kube-controller-manager-amd64:v1.11.0
docker pull registry.cn-hangzhou.aliyuncs.com/liuyi01/kube-proxy-amd64:v1.11.0
docker pull registry.cn-hangzhou.aliyuncs.com/liuyi01/kube-apiserver-amd64:v1.11.0
docker pull registry.cn-hangzhou.aliyuncs.com/liuyi01/kube-scheduler-amd64:v1.11.0
docker pull registry.cn-hangzhou.aliyuncs.com/liuyi01/coredns:1.1.3
docker pull registry.cn-hangzhou.aliyuncs.com/liuyi01/etcd-amd64:3.2.18
docker pull registry.cn-hangzhou.aliyuncs.com/liuyi01/pause:3.1
docker pull registry.cn-hangzhou.aliyuncs.com/liuyi01/calico-node:v3.1.3
docker pull registry.cn-hangzhou.aliyuncs.com/liuyi01/calico-cni:v3.1.3
docker pull registry.cn-hangzhou.aliyuncs.com/liuyi01/calico-typha:v0.7.4
docker pull registry.cn-hangzhou.aliyuncs.com/liuyi01/kubernetes-dashboard-amd64:v1.8.3
#打上新标签
docker tag registry.cn-hangzhou.aliyuncs.com/liuyi01/kube-apiserver-amd64:v1.11.0 k8s.gcr.io/kube-apiserver-amd64:v1.11.0
docker tag registry.cn-hangzhou.aliyuncs.com/liuyi01/kube-controller-manager-amd64:v1.11.0 k8s.gcr.io/kube-controller-manager-amd64:v1.11.0
docker tag registry.cn-hangzhou.aliyuncs.com/liuyi01/kube-scheduler-amd64:v1.11.0 k8s.gcr.io/kube-scheduler-amd64:v1.11.0
docker tag registry.cn-hangzhou.aliyuncs.com/liuyi01/kube-proxy-amd64:v1.11.0 k8s.gcr.io/kube-proxy-amd64:v1.11.0
docker tag registry.cn-hangzhou.aliyuncs.com/liuyi01/pause:3.1 k8s.gcr.io/pause:3.1
docker tag registry.cn-hangzhou.aliyuncs.com/liuyi01/etcd-amd64:3.2.18 k8s.gcr.io/etcd-amd64:3.2.18
docker tag registry.cn-hangzhou.aliyuncs.com/liuyi01/coredns:1.1.3 k8s.gcr.io/coredns:1.1.3
docker tag registry.cn-hangzhou.aliyuncs.com/liuyi01/calico-node:v3.1.3 quay.io/calico-node:v3.1.3
docker tag registry.cn-hangzhou.aliyuncs.com/liuyi01/calico-cni:v3.1.3 quay.io/calico-cni:v3.1.3
docker tag registry.cn-hangzhou.aliyuncs.com/liuyi01/calico-typha:v0.7.4 quay.io/calico-typha:v0.7.4
docker tag registry.cn-hangzhou.aliyuncs.com/liuyi01/kubernetes-dashboard-amd64:v1.8.3 k8s.gcr.io/kubernetes-dashboard-amd64:v1.8.3
#移除老旧标签
docker rmi registry.cn-hangzhou.aliyuncs.com/liuyi01/kube-apiserver-amd64:v1.11.0
docker rmi registry.cn-hangzhou.aliyuncs.com/liuyi01/kube-controller-manager-amd64:v1.11.0
docker rmi registry.cn-hangzhou.aliyuncs.com/liuyi01/kube-scheduler-amd64:v1.11.0
docker rmi registry.cn-hangzhou.aliyuncs.com/liuyi01/kube-proxy-amd64:v1.11.0
docker rmi registry.cn-hangzhou.aliyuncs.com/liuyi01/pause:3.1
docker rmi registry.cn-hangzhou.aliyuncs.com/liuyi01/etcd-amd64:3.2.18
docker rmi registry.cn-hangzhou.aliyuncs.com/liuyi01/coredns:1.1.3
docker rmi registry.cn-hangzhou.aliyuncs.com/liuyi01/calico-cni:v3.1.3
docker rmi registry.cn-hangzhou.aliyuncs.com/liuyi01/calico-typha:v0.7.4
docker rmi registry.cn-hangzhou.aliyuncs.com/liuyi01/calico-node:v3.1.3
docker rmi registry.cn-hangzhou.aliyuncs.com/liuyi01/kubernetes-dashboard-amd64:v1.8.3

  

3.Kubeadm方式安装

标签:k8s   serve   schedule   方式安装   red   rmi   aliyun   etcd   nod   

原文地址:https://www.cnblogs.com/sdrbg/p/11405716.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!