3.Kubeadm方式安装

Posted sdrbg

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了3.Kubeadm方式安装相关的知识,希望对你有一定的参考价值。

 

 

主节点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(3) kubeadm 安装k8s

k8s(3) kubeadm 安装k8s

使用kube-vip部署高可用K8S集群

kubernetes 概述和kubeadm方式集群搭建

kubernetes 概述和kubeadm方式集群搭建

kubernetes 概述和kubeadm方式集群搭建