βΈοΈMonitoring
Describe about 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
View CPU utilize:
kubectl top <type_component> (node or pod)
Log the Kubernetes container:
kubectl logs -f <pod_name>
in the case it has multiple containerkubectl logs -f <pod_name> <container_name>
Last updated