kubernetes1.5.2升级到kubernetes1.10一些主要的设定修改记录
本文记录了kubernetes1.5.2升级到kubernetes1.10一些主要的设定修改。
版本
升级方式
二进制替换之后修改systemd相关选项
docker设定
api-server设定
kubelet设定
/etc/kubernetes/kubeconfig内容:
[root@host124 ~]# cat /etc/kubernetes/kubeconfig
apiversion: v1
kind: config
users: []
preferences: {}
clusters:
- name: default
cluster:
server:
contexts:
- context:
cluster: default
user: “”
name: default
current-context: default
[root@host124 ~]#
结果确认
版本确认
[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 ~]#
构成确认
[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 ~]#
总结
以上就是这篇文章的全部内容了,希望本文的内容对大家的学习或者工作具有一定的参考学习价值,谢谢大家对的支持。如果你想了解更多相关内容请查看下面相关链接
上一篇: 爆逗夫妻,不掐就损的日常小两口