Michael Sorens walks us through some tips for monitoring Kubernetes:
The world begins, of course, with kubectl, the command-line interface to Kubernetes. The commands you start using early on help you examine your Kubernetes resources.
kubectl get . . .
With that command, you can examine your deployments, which rollout your replica sets, which create pods. Then you need services, which are logical sets of pods that provide an interface for external access. What can you examine with
kubectl get
?Use
kubectl api-resources
to see the list. At the time of this writing, there are 66 different resource types! That number will likely only grow over time.
Read on for more, including the setup of the Kubernetes UI and third-party tooling.