User:Merlijn van Deen/k8s notes

From Wikitech
  • kubectl describe pods to get the IP, port number and command running in the pod
  • Try to curl that webservice
  • kubectl get pods to get pod name
  • kubectl exec [podname] -- tail -f $HOME/uwsgi.log $HOME/error.log to get info straight out of the pod
  • if the pod doesn't respond, kubectl delete pod [podname]
  • open("/usr/lib/uwsgi/plugins/python_plugin.so"): No such file or directory [core/utils.c line 3659] seems to have been a red herring.