Logging and Monitoring Flashcards

1
Q

How many metrics servers can run per cluster?

A

1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the primary limitation of a metrics server in K8?

A

You can not see historical metrics because you can only store metrics in memory and not on disk.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is cAdvisor and what is it responsible for?

A

cAdvisor is a sub component of the kubelet that is responsible for retrieving performance metrics from pods and exposing them through the kubelet API

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the command to get node metrics?

A

k top node

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the command to get pod metrics?

A

k top pods

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the command to tail logs generated by a pod?

A

k logs -f <pod_name></pod_name>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the command to tail logs generated by a pod?

A

k logs -f <pod_name></pod_name>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly