Logging & Monitoring
Monitor Cluster Components
You can download metrics server by running:
kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yamlAfter downloading metrics server, view CPU and Memory consumption of nodes and pods:
kubectl top node
kubectl top podLab:
Managing Application Logs
We can create a logging pod using a definition yaml:

As we create the pod, we can view logs:
Lab:
Slides
Last updated
