总结:
增加:
1、增加master、worker节点,直接修改rancher-cluster.yml,运行rke up --config rancher-cluster.yml
2、增加etcd节点,需要修改rancher-cluster.yml,执行etcd恢复操作,运行rke up --config rancher-cluster.yml
删除:
1、删除master、worker节点,直接执行kubectl delete node 即可
2、删除etcd节点,需要修改rancher-cluster.yml,执行etcd恢复操作,运行rke up --config rancher-cluster.yml
本文详述了如何使用RKE(Rancher Kubernetes Engine)进行Kubernetes集群的节点扩展与缩减,包括master、worker及etcd节点的增加与删除步骤。对于不同类型的节点,操作流程有所不同,增加节点需修改配置文件并执行特定命令,而删除节点则可通过kubectl直接操作。

4939

被折叠的 条评论
为什么被折叠?



