---
description: Describe about Monitoring
---

# Monitoring

In Kubernetes, there isn't a fully built-in feature for monitoring, but open-source solutions like `Metric Server`, `Prometheus`, `ElasticStack`, etc., can be utilized. Previously, Kubernetes had `Heapster` as a project for enabling monitoring, but it has been deprecated. The subsequent version now relies on `Metric Server` for this purpose.



**CheatSheet command**

1. View CPU utilize: `kubectl top <type_component> (node or pod)`
2. Log the Kubernetes container: `kubectl logs -f <pod_name>` \
   in the case it has multiple container `kubectl logs -f <pod_name> <container_name>`\
