说明:本部署文章参照了 https://github.com/opsnull/follow-me-install-kubernetes-cluster ,欢迎给作者star

kubernetes work 节点运行如下组件:

  • docker
  • kubelet
  • kube-proxy

以下操作在k8s-master节点上进行

安装依赖包

CentOS:

cd /opt/k8s/work
source /opt/k8s/bin/environment.sh for node_ip in 192.168.161.170 192.168.161.171 192.168.161.172 do echo ">>> ${node_ip}" ssh root@${node_ip} "yum install -y epel-release" ssh root@${node_ip} "yum install -y conntrack ipvsadm ipset jq iptables curl sysstat libseccomp && /usr/sbin/modprobe ip_vs " done

 

转载于:https://www.cnblogs.com/gytangyao/p/10864770.html

Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐