Killer sh Flashcards

1
Q

What command prints the current context?

A

kubectl config current-context

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

Where is the current users config located?

A

~/.kube/config

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

What metrics-server command shows node/pod utilization?

A

kubectl top node && kubectl top pod

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

What namespace does etcd and apiserver run in?

A

kube-system

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

How can you bypass the scheduler and NoSchedule taints?

A

spec.nodeName

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

How can you remove a taint from a node?

A

Append a hyphen to the taint command to untaint the node.

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