Kubernetes: How do I get the status and restarts of a container using python? Kubernetes: How do I get the status and restarts of a container using python? kubernetes kubernetes