O'Reilly logo

Kubernetes for Developers by Joseph Heck

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Getting a snapshot of the current state

You can see the current snapshot of what Kubernetes knows about the state of your code using the kubectl describe or kubectl get command. If you are just trying to see the state for yourself interactively, then the kubectl describe command is the most valuable. Remember that Kubernetes manages a chain of objects related to running your code, so if you want to see a full snapshot, you will want to look at the status of each of the objects: deployment, ReplicaSet, and Pods. In practice, looking at the state of deployment and then jumping down to Pods will often provide you with any detail you want.

You can see these details of what Kubernetes is doing with your code by looking at the raw data for your ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required