From the course: Certified Kubernetes Administrator (CKA) Cert Prep

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Monitoring Kubernetes resources

Monitoring Kubernetes resources

- Alright, so the first thing that you need to know about in the category of logging, monitoring and troubleshooting is how to monitor Kubernetes resources using the default utilities. So how would you do that? Well, you should be familiar in fact, with all of this already. Kubectl get can be used on any resource and it shows generic resource health. Kubectl get is a short overview and you can see if your bolt is in error, CrashLoopBackOff, bending or anything else. If metrics are collected using the metrics server as discussed in lesson four, you can use kubectl top pods and kubectl top nodes to get performance-related information about Pods and Nodes. And don't forget kubectl describe nodes to get the same type of information that are for a specific nodes. Also, you should consider using advanced tools like Prometheus and Grafana for more details about application usage. These are external utilities and they are pretty complex and offer lots of functionality and for that reason…

Contents