Pod Monitoring
摘要
Kubernetes (K8s) provides a lot of information for operators to gain insight into the cluster itself and the underlying infrastructure. There are many tools that can support cluster monitoring with kubectl being one of them. You can use kubectl to log and debug cluster issues such as when a controller failed, or if pods are running. However, kubectl is not easy to use for logging, tracing, troubleshooting, and collection of metrics. Developers or cluster administrators often turn to alternative tools, which provide more advanced features than the kubectl for cluster monitoring. Some of these tools are K8s dashboard; Lens; CloudWatch; Prometheus; Elasticsearch, Logstash, and Kibana (ELK); Rancher; and more. This chapter introduces cluster monitoring and how to implement some of the cluster visualization tools to monitor K8s clusters and their objects. We will focus on three tools in this chapter, K8s dashboard, Lens, and K9s. We will implement other tools such as CloudWatch in Chapter 20 .