Logging and Monitoring Flashcards
How many metrics servers can run per cluster?
1
What is the primary limitation of a metrics server in K8?
You can not see historical metrics because you can only store metrics in memory and not on disk.
What is cAdvisor and what is it responsible for?
cAdvisor is a sub component of the kubelet that is responsible for retrieving performance metrics from pods and exposing them through the kubelet API
What is the command to get node metrics?
k top node
What is the command to get pod metrics?
k top pods
What is the command to tail logs generated by a pod?
k logs -f <pod_name></pod_name>
What is the command to tail logs generated by a pod?
k logs -f <pod_name></pod_name>