kubernetes新增node节点

  sre

在 master 节点上执行 获得 join命令参数

[root@master 1204]# kubeadm token create --print-join-command
kubeadm join 172.16.0.10:6443 --token iz6opy.gou5pfm3h595iyw3     --discovery-token-ca-cert-hash sha256:d502cfcd3220eedb2d1528c653cdec7f41264078c035f986aac7504cbeadf867 

在node上执行:

kubeadm join 172.16.0.10:6443 --token iz6opy.gou5pfm3h595iyw3     --discovery-token-ca-cert-hash sha256:d502cfcd3220eedb2d1528c653cdec7f41264078c035f986aac7504cbeadf867 

LEAVE A COMMENT

Captcha Code