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

The upgrade from kubernetes1.5.2 to kubernetes1.10 in docker mainly sets what to modify.

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Editor to share with you docker kubernetes1.5.2 upgrade to kubernetes1.10 main settings to modify the content, I believe that most people do not know much about it, so share this article for your reference, I hope you will learn a lot after reading this article, let's go to know it!

Version

Upgrade mode

Modify systemd related options after binary replacement

Docker Settin

Api-server Settin

Kubelet Settin

/ etc/kubernetes/kubeconfig content:

[root@host124 ~] # cat / etc/kubernetes/kubeconfig

ApiVersion: v1

Kind: Config

Users: []

Preferences: {}

Clusters:

-name: default

Cluster:

Server: http://192.168.163.121:8080

Contexts:

-context:

Cluster: default

User: ""

Name: default

Current-context: default

[root@host124 ~] #

Result confirmed

Version confirmation

[root@host121] # kubectl versionClient Version: version.Info {Major: "1", Minor: "10", GitVersion: "v1.10.0", GitCommit: "fc32d2f3698e36b93322a3465f63a14e9f0eaead", GitTreeState: "clean", BuildDate: "2018-03-26T16:55:54Z", GoVersion: "go1.9.3", Compiler: "gc", Platform: "linux/amd64"} Server Version: version.Info {Major: "1", Minor: "10", GitVersion: "v1.10.0", GitCommit: "fc32d2f3698e36b93322a3465f63a14e9f0eaead", GitTreeState: "clean" BuildDate: "2018-03-26T16:44:10Z", GoVersion: "go1.9.3", Compiler: "gc", Platform: "linux/amd64"} [root@host121 ~] #

Constituent confirmation

[root@host121] # kubectl get node-o wide

NAME STATUS ROLES AGE VERSION EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME

192.168.163.122 Ready 11h v1.10.0 CentOS Linux 7 (Core) 3.10.0-693.el7.x86_64 docker://17.12.0-ce

192.168.163.123 Ready 11h v1.10.0 CentOS Linux 7 (Core) 3.10.0-693.el7.x86_64 docker://17.12.0-ce

192.168.163.124 Ready 11h v1.10.0 CentOS Linux 7 (Core) 3.10.0-693.el7.x86_64 docker://17.12.0-ce

[root@host121 ~] #

The above is all the contents of this article entitled "what to modify when upgrading from kubernetes1.5.2 to kubernetes1.10 in docker". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

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

Wechat

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

12
Report