From the course: Securing Containers and Kubernetes Ecosystem

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Logging and monitoring

Logging and monitoring - Kubernetes Tutorial

From the course: Securing Containers and Kubernetes Ecosystem

Start my 1-month free trial

Logging and monitoring

- [Narrator] When your applications are running and the cluster is humming, you need a way to know what's going on with your Kubernetes' components and applications. Logs are your eyes in your cluster. These logs help debug problems with your cluster. They're also important in detecting security anomalies and any ongoing attacks. However, unlike traditional applications, pods and microservices come and go. They could be stopped and restarted anytime. Furthermore, there's no guarantee that a pod will be started on the same node. After a pod or a node is stopped, you still want the ability to access logs. So your logging lifecycle should be decoupled from that of containers, pods and nodes. Kubernetes doesn't provide any native log management solution. Fortunately, several external logging solutions can be integrated with your Kubernetes clusters. When it comes to logging in Kubernetes, there are three options with…

Contents