In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Rke deletes the node:
Modify cluster.yal to delete the configuration of the node that needs to be deleted, and then run
[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] delete #-address: 172.20.101.106 delete # user: ptmind delete # role: [worker] delete # labels: {traefik: traefik-outer} perform delete node operation
Rke up-update-only
View output information: 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]. 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 add nodes:
Modify the node configuration that cluster.yal will need to add, and then run
[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} to add nodes
Rke up-update-only
View output information: 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..
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.