In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Today, I will talk to you about the process of using Kubeadm Upgrade to update Kubernetes clusters. Many people may not know much about it. In order to make you understand better, the editor has summarized the following contents for you. I hope you can get something according to this article.
The Ubuntu18.04 used in the operating system is equipped with JupyterHub, and automatically exits after starting the Notebook image. After investigation, it was found that it was because of the wrong Notebook image used. Later, it was updated and can be used.
Before that, however, it was suspected that the Kubernetes version was lower (another Kubernetes1.11.2 machine didn't have this problem), so I wanted to update Kubernetes.
The Kubernetes project has a Kubeadm tool that is described as supporting direct updates. However, I used it once before, and I always reported the wrong version, so I was more careful this time, and finally the upgrade was successful.
Steps:
Run kubeadm upgrade plan to see if you can upgrade.
After downloading the image of kubernetes 1.11.2 in advance, you can download it from Ali Cloud using the https://github.com/openthings/kubernetes-tools/kubeadm/allimages-pull-aliyun.sh script.
Upgrade kubeadm to version 1.11.2 and install using sudo apt install kubeadm=v1.11.2-00.
Note that do not restart the machine after that, otherwise when you get up again, the kubelet will be updated and the cluster cannot be accessed, and the kubeadm upgrade will fail to run (this design should be problematic, it would be nice if you didn't start the kubelet service).
Run sudo kubeadm upgrade apply v1.11.2 to upgrade the Kubernetes cluster. Wait a minute. It'll be all right.
After reading the above, do you have any further understanding of the process of updating a Kubernetes cluster using Kubeadm Upgrade? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
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.