标签:kubeadm firewalld kubectl enforce for mirror gpg 安装 ase
kubernetes是一个全新的基于容器技术的分布式架构解决方案,并且是一个一站式的完备分布式系统开发和支撑平台。
1.关闭防火墙
#systemctl stop firewalld #systemctl disable firewalld # setenforce 0
1.添加yum源
#tee /etc/yum.repos.d/kubernetes.repo << EOF [kubernetes] name=Kubernetes baseurl=http://mirrors.aliyun.com/kubernetes/yum/repos/kubernetes-el7-x86_64 enabled=1 gpgcheck=0 repo_gpgcheck=0 gpgkey=http://mirrors.aliyun.com/kubernetes/yum/doc/yum-key.gpg http://mirrors.aliyun.com/kubernetes/yum/doc/rpm-package-key.gpg EOF
#yum clean all
# yum makecache
如果已经安装docker,则取消下面的docker
# yum install -y docker kubelet kubeadm kubectl kubernetes-cni
标签:kubeadm firewalld kubectl enforce for mirror gpg 安装 ase
原文地址:https://www.cnblogs.com/yaohong/p/9357366.html