From the course: Automating Kubernetes with GitOps

Unlock this course with a free trial

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

Understanding observability

Understanding observability

- All right, let's talk about observability. Why do we need it? Well, observability is about monitoring what is going on in the cluster, and at all times, you want to know what's happening, right? And GitOps observability is quite essential because it allows the GitOps tools to apply application updates if the current state of an application doesn't match the desired state. Now in observability, there are so many aspects to observe, like event logging and metrics and tracing, and there are different ecosystem tools, as well as Kubernetes and Git native tools that are available for observability. So observability starts with application logging, and Kubernetes logging is happening at the Pod. The Pod application generates events, which are captured by Kubernetes and stored in the cluster, and you use kubectl logs to read the Pod logs. Although logs are useful for checking individual applications, they don't reveal the actual state of the entire system. So in many cases, you need more…

Contents