kubernetes1.5.2升級到kubernetes1.10一些主要的設(shè)定修改記錄
本文記錄了kubernetes1.5.2升級到kubernetes1.10一些主要的設(shè)定修改。
版本

升級方式
二進(jìn)制替換之后修改systemd相關(guān)選項
docker設(shè)定

api-server設(shè)定

kubelet設(shè)定

/etc/kubernetes/kubeconfig內(nèi)容:
[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 ~]#
結(jié)果確認(rèn)
版本確認(rèn)
[root@host121 ~]# kubectl version
Client 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 ~]#
構(gòu)成確認(rèn)
[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 <none> 11h v1.10.0 <none> CentOS Linux 7 (Core) 3.10.0-693.el7.x86_64 docker://17.12.0-ce
192.168.163.123 Ready <none> 11h v1.10.0 <none> CentOS Linux 7 (Core) 3.10.0-693.el7.x86_64 docker://17.12.0-ce
192.168.163.124 Ready <none> 11h v1.10.0 <none> CentOS Linux 7 (Core) 3.10.0-693.el7.x86_64 docker://17.12.0-ce
[root@host121 ~]#
總結(jié)
以上就是這篇文章的全部內(nèi)容了,希望本文的內(nèi)容對大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價值,謝謝大家對腳本之家的支持。如果你想了解更多相關(guān)內(nèi)容請查看下面相關(guān)鏈接
相關(guān)文章
Docker容器應(yīng)用中,10個要不得的壞習(xí)慣
這篇文章主要介紹了Docker容器的應(yīng)用中,10個要不得的壞習(xí)慣,幫助大家更好的理解和使用docker,感興趣的朋友可以了解下2020-08-08
docker+gitlab+gitlab-runner部署詳解
這篇文章主要介紹了docker+gitlab+gitlab-runner部署詳解,文中通過示例代碼介紹的非常詳細(xì),對大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)學(xué)習(xí)吧2020-10-10
Docker拉鏡像報錯error pulling image configuration:
這篇文章主要介紹了Docker拉鏡像報錯error pulling image configuration: unknown blob的問題及解決方案,具有很好的參考價值,希望對大家有所幫助,如有錯誤或未考慮完全的地方,望不吝賜教2023-09-09

