google container engine - Deploying service to GKE/Kubernetes leading to FailedSync error -


when deploying service kubernetes/gke kubectl describe pod indicates following error (as occurring after image pulled):

{kubelet <id>} warning failedsync error syncing pod,  skipping: failed "startcontainer" "<id>" crashloopbackoff:  "back-off 20s restarting failed container=<id>" {kubelet <id>}  spec.containers{id} warning backoff restarting failed docker container. 

i have checked various log files (such /var/log/kubelet.log , /var/log/docker.log) on node pod executing did not find more specific?

what error message indicate, , how can further diagnose , solve problem?

the problem might in relation mounting pd. can both docker run the image cloud shell (without pd) , mount pd after adding gce vm instance. apparently it's neither caused image nor pd in isolation.

the root cause apparently pd did not contain directory target of symbolic link required application running inside image. cause application terminate , effect image stop, apparently reported failed docker container in shown log file.

after creating directory (by attatching drive separate vm instance , mounting there purpose) specific problem disappears (only followed this 1 :)


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -