Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 757 Bytes

06-1.worker节点.md

File metadata and controls

32 lines (23 loc) · 757 Bytes

tags: worker, containerd, calico, kubeconfig, kubelet, kube-proxy

06-1. 部署 worker 节点

kubernetes worker 节点运行如下组件:

  • containerd
  • kubelet
  • kube-proxy
  • calico
  • kube-nginx

注意:如果没有特殊指明,本文档的所有操作均在 zhangjun-k8s-01 节点上执行

安装依赖包

source /opt/k8s/bin/environment.sh
for node_ip in ${NODE_IPS[@]}
  do
    echo ">>> ${node_ip}"
    ssh root@${node_ip} "yum install -y epel-release" &
    ssh root@${node_ip} "yum install -y chrony conntrack ipvsadm ipset jq iptables curl sysstat libseccomp wget socat git" &
  done