Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Debugging FAQ

bgrant0607 edited this page Sep 10, 2014 · 20 revisions

Under construction.

Tips that may help you debug why Kubernetes isn't working.

General

Check logs

TODO: log location by distribution: /var/log, /tmp, journalctl

TODO: turning on verbose logging: https://github.com/golang/glog

Check Docker state directly

sudo docker ps -a

By symptom

  • Pod is in state Waiting forever
  • kubecfg cannot reach apiserver: KUBERNETES_MASTER, KUBE_MASTER_IP
  • kubecfg hangs forever
    • Ensure all components running: apiserver, controller, scheduler, etcd, kubelets

Networking problems

TODO

Other provider-specific issues

TODO

Clone this wiki locally