kubernetes 1.2.0版本之kubelet启动报错:linux
I0316 21:39:13.701857 60146 kubelet.go:2381] skipping pod synchronization - [container runtime is down]docker E0316 21:39:14.216490 60146 kubelet.go:2726] Container runtime sanity check failed: container runtime version is older than 1.18centos |
看了下docker的版本,以前kubernetes 1.1.0是没有问题的api
[root@localhost ~]# docker version测试 Client version: 1.5.0ui Client API version: 1.17spa Go version (client): go1.3.3.net Git commit (client): a8a31ef/1.5.0server OS/Arch (client): linux/amd64ip Server version: 1.5.0 Server API version: 1.17 Go version (server): go1.3.3 Git commit (server): a8a31ef/1.5.0 |
感受是说Client API version,比较低,kube 1.2.0不支持???
确认是kube 1.2版本的须要docker的api版本是大于1.18,如今docker版本为:
[root@localhost ~]# docker version Client: Version: 1.8.2-el7.centos API version: 1.20 Package Version: docker-1.8.2-10.el7.centos.x86_64 Go version: go1.4.2 Git commit: a01dc02/1.8.2 Built: OS/Arch: linux/amd64
Server: Version: 1.8.2-el7.centos API version: 1.20 Package Version: Go version: go1.4.2 Git commit: a01dc02/1.8.2 Built: OS/Arch: linux/amd64 |
总结:
一、kubernetes 1.2版本,变更幅度较于kubernetes 1.1的大,能够做为尝鲜测试
二、kubernetes 1.2版本的须要docker的api版本是大于1.18的,可根据状况升级对应的docker版本