Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to upgrade Kubernetes version to 1.18

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article is to share with you about how to upgrade the Kubernetes version to 1.18, the editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.

This time, the plan to upgrade Kubernetes is to keep up with the times. This is obviously out of date.

It is found that the difference between the official website and the official website is more than ten grades.

I will record the upgrade steps one by one.

1. Change the yum source

Switch to

Cd / etc/yum.repos.d

Then delete the default yum configuration, back it up if you are worried, and then download the yum source configuration.

Wget http://mirrors.aliyun.com/repo/Centos-7.repowget http://mirrors.163.com/.help/CentOS7-Base-163.repo#dokcer yum Source wget https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo

Finally, remember to execute the following command to make the new yum source effective:

Yum clean all & & yum makecache

Please uninstall the old version of docker first, or it will appear

Delete them.

Yum remove-y docker*.x86_64

Execute again at this time

Yum list installed | grep docker

Then perform the docker installation:

Yum-y install docker-ce

Download in progress.

Finally, set the docker boot self-startup function

Systemctl enable docker

The host name that you can see when you open a window again has been changed.

3. Upgrade Kubernetes

The premise is similar to docker. Remember to uninstall the old version of kubernetes.

Configure Ali yum Feed

Cat

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report