RKE K8S 集群增删节点
发表于:2026-11-02 作者:千家信息网编辑
千家信息网最后更新 2026年11月02日,rke 删除节点:修改cluster.yal 将需要删除的节点配置删除,然后运行[root@cnvs-kubm-101-103 rke]# more cluster.ymlnodes: - addr
千家信息网最后更新 2026年11月02日RKE K8S 集群增删节点
rke 删除节点:
修改cluster.yal 将需要删除的节点配置删除,然后运行
[root@cnvs-kubm-101-103 rke]# more cluster.ymlnodes: - address: 172.20.101.103 user: ptmind role: [controlplane,worker,etcd] - address: 172.20.101.104 user: ptmind role: [controlplane,worker,etcd] - address: 172.20.101.105 user: ptmind role: [controlplane,worker,etcd]删除# - address: 172.20.101.106删除# user: ptmind删除# role: [worker]删除# labels: {traefik: traefik-outer}执行删除节点操作
rke up --update-only
查看输出信息:
INFO[0010] [reconcile] Check etcd hosts to be deleted INFO[0010] [reconcile] Check etcd hosts to be added INFO[0010] [hosts] Cordoning host [172.20.101.106] INFO[0010] [hosts] Deleting host [172.20.101.106] from the cluster INFO[0010] [hosts] Successfully deleted host [172.20.101.106] from the cluster INFO[0010] [dialer] Setup tunnel for host [172.20.101.106] INFO[0011] [worker] Tearing down Worker Plane.. INFO[0011] [remove/kubelet] Successfully removed container on host [172.20.101.106] INFO[0011] [remove/kube-proxy] Successfully removed container on host [172.20.101.106] INFO[0011] [remove/nginx-proxy] Successfully removed container on host [172.20.101.106] INFO[0011] [remove/service-sidekick] Successfully removed container on host [172.20.101.106] INFO[0011] [worker] Successfully tore down Worker Plane.. INFO[0011] [hosts] Cleaning up host [172.20.101.106] INFO[0011] [hosts] Running cleaner container on host [172.20.101.106] INFO[0012] [kube-cleaner] Successfully started [kube-cleaner] container on host [172.20.101.106] INFO[0012] Waiting for [kube-cleaner] container to exit on host [172.20.101.106] INFO[0012] Container [kube-cleaner] is still running on host [172.20.101.106] INFO[0013] Waiting for [kube-cleaner] container to exit on host [172.20.101.106] INFO[0013] [hosts] Removing cleaner container on host [172.20.101.106] INFO[0013] [hosts] Removing dead container logs on host [172.20.101.106] INFO[0014] [cleanup] Successfully started [rke-log-cleaner] container on host [172.20.101.106] INFO[0014] [remove/rke-log-cleaner] Successfully removed container on host [172.20.101.106] INFO[0014] [hosts] Successfully cleaned up host [172.20.101.106添加节点:
修改cluster.yal 将需要添加的节点配置,然后运行
[root@cnvs-kubm-101-103 rke]# more cluster.ymlnodes: - address: 172.20.101.103 user: ptmind role: [controlplane,worker,etcd] - address: 172.20.101.104 user: ptmind role: [controlplane,worker,etcd] - address: 172.20.101.105 user: ptmind role: [controlplane,worker,etcd] - address: 172.20.101.106 user: ptmind role: [worker] labels: {traefik: traefik-outer}执行添加节点操作
rke up --update-only
查看输出信息:
INFO[0025] [worker] Building up Worker Plane.. INFO[0025] [worker] Successfully started [nginx-proxy] container on host [172.20.101.106] INFO[0026] [worker] Successfully started [rke-log-linker] container on host [172.20.101.106] INFO[0026] [remove/rke-log-linker] Successfully removed container on host [172.20.101.106] INFO[0027] [worker] Successfully started [kubelet] container on host [172.20.101.106] INFO[0027] [healthcheck] Start Healthcheck on service [kubelet] on host [172.20.101.106] INFO[0032] [healthcheck] service [kubelet] on host [172.20.101.106] is healthy INFO[0032] [worker] Successfully started [rke-log-linker] container on host [172.20.101.106] INFO[0033] [remove/rke-log-linker] Successfully removed container on host [172.20.101.106] INFO[0033] [worker] Successfully started [kube-proxy] container on host [172.20.101.106] INFO[0033] [healthcheck] Start Healthcheck on service [kube-proxy] on host [172.20.101.106] INFO[0038] [healthcheck] service [kube-proxy] on host [172.20.101.106] is healthy INFO[0039] [worker] Successfully started [rke-log-linker] container on host [172.20.101.106] INFO[0039] [remove/rke-log-linker] Successfully removed container on host [172.20.101.106] INFO[0039] [worker] Successfully started Worker Plane..
节点
信息
输出
运行
配置
集群
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
互联网科技工作委员会
高科技与互联网
互联网 卓越科技
以房互联网科技
唐信互联网科技
艾特科技互联网
广州互联网络科技有限公司
互联网金融 科技创新
甘肃拓世互联网科技有限公司
中盈科技互联网信息有限公司
中国互联网有什么科技含量
茂名市互联网科技产业园
恒生互联网科技指数跳水
互联网科技机房
悟空问答互联网科技
广州三三互联网科技有限公司
互联网科技创新创业项目
黑龙江互联网科技公司
宁波允成互联网科技有限公司
互联网企业和网络科技有限公司
中国互联网科技股
上海挚品互联网科技
互联网科技公司怎么样
小马过河互联网科技
汉立互联网科技有限公司联系电话
南平创想时代互联网科技有限公司
上海钢联属于互联网科技股吗
新氧科技和美国互联网有关系吗
互联网科技手抄报图片
华人运通互联网科技公司