kubernetes - kubelet FailedSync Error syncing pod, skipping: API error 400 -
i’m running issues while creating container, i’m using ubuntu 16.04 os, docker 1.12.1, flannel 0.5.5, , etcd datastore.
sudo systemctl status kubelet.service ● kubelet.service - kubernetes kubelet server loaded: loaded (/lib/systemd/system/kubelet.service; enabled; vendor preset: enabled) active: active (running) since mon 2016-09-12 14:23:02 edt; 3h 6min ago docs: https://github.com/googlecloudplatform/kubernetes main pid: 15788 (kubelet) tasks: 9 memory: 848.0k cpu: 815ms cgroup: /system.slice/kubelet.service sep 12 17:19:40 vm3-virtualbox kubelet[15788]: w0912 17:19:40.585677 15788 container_manager_linux.go:278] [containermanager] failed ensure state of "/docke sep 12 17:20:40 vm3-virtualbox kubelet[15788]: w0912 17:20:40.615756 15788 container_manager_linux.go:278] [containermanager] failed ensure state of "/docke sep 12 17:21:40 vm3-virtualbox kubelet[15788]: w0912 17:21:40.624172 15788 sep 12 17:23:40 vm3-virtualbox kubelet[15788]: w0912 17:23:40.657396 15788 container_manager_linux.go:278] [containermanager] failed ensure state of "/docker belet[15788]: w0912 16:47:40.051784 15788 container_manager_linux.go:278] [containermanager] failed ensure state of "/docke sep 12 16:48:06 vm3-virtualbox sudo[19448]: pam_unix(sudo:session): session closed user root sep 12 16:48:40 vm3-virtualbox kubelet[15788]: w0912 16:48:40.073855 15788 container_manager_linux.go:278] [containermanager] failed ensure state of "/docke
master node
kubectl describe pods my-first-nginx-a9bgy replication controllers: my-first-nginx (1/1 replicas created) containers: my-first-nginx: container id: image: nginx image id: state: waiting reason: containercreating 1m 1m 1 {kubelet implicitly required container pod created created docker id 9fc5d67d3921 1m 1m 1 {kubelet implicitly required container pod failed failed start docker id 9fc5d67d3921 error: api error (400): {"message":"starting container hostconfig deprecated since v1.10 , removed in v1.12"} {kubelet } implicitly required container pod created created docker id f55e2b6538b5 1m 6s 10 {kubelet failedsync error syncing pod, skipping: api error (400): {"messag "starting container hostconfig deprecated since v1.10 , removed in v1.12"}
do need make changes in /lib/systemd/system/docker.service or in /etc/default/docker. there work around, i've read in few posts kubernetes has problem latest docker version.
any , suggestion on appreciated.
hostconfig deprecated in docker v1.12. kubernetes made corresponding switch deprecate hostconfig in v1.2, need newer version (v1.2+) kubernetes work docker v1.12.
another caveat coming kubernetes 1.4 release claims compatible docker v1.12. older versions of kubernetes not tested against docker v1.12. might better off using older version of docker, or switch kubernetes v1.4 beta.
Comments
Post a Comment