Unit 4 Flashcards

1
Q

How can containers interact with one another in a pod?

A
  • Shared Network (as if in same host)
  • Shared Storage Volume
  • Shared Process NameSpace (signaling processes)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Allow you to customize how K8s determines the status of your containers

A

Probes

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

Indicates whether the container is running properly and governs when the cluster will automatically stop or restart the container

A

Liveness probe

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

Indicates whether the container is ready to service requests, and governs whether requests will be forwarded to the pod

A

Readiness probe

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

kubectl option to reference all namespaces

A

–all-namespaces

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

kubectl action to see status of a pod

A

‘describe pod [name]’

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