In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Install and configure the compute node node that runs Kubernetes
Generate kubernets's warehouse configuration file # cat / dev/null | openssl dgst-sha256-hex | sed's / ^. * / /'
Then use kubeadm join to join, as an example:
Kubeadm join 10.167.11.153discovery-token-ca-cert-hash sha256:2cc3029123db737f234186636330e87b5510c173c669f513a9c0e0da395515b0 6443-token o4avtg.65ji6b778nyacw68-discovery-token-ca-cert-hash sha256:2cc3029123db737f234186636330e87b5510c173c669f513a9c0e0da395515b0
If the token fails, it needs to be regenerated. The command is as follows:
Kubeadm token create-- print-join-command [--ttl 0]
"--ttl 0" is optional, indicating the valid time of the token, and 0 means it is always valid. The result of the above command is the command required to join the cluster.
two。 Reset nod
If there is a problem with the initialization / calculation node join of the primary node or if you want to go back, use the following command to reset
# kubeadm reset
At the same time, use ip link delete to delete the corresponding network and restart the network
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.