Deployments Flashcards

1
Q

What sits b/t a pod and a deployment…and what does it do?

A

Replica Set. It handles the mechanics of scaling. But you rarely see them because they are managed by the deployment.

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

What does ‘maxSurge’ means in a deployment?

A

It is a property that specified the maximum number of additional pods which may be created above the desired state during an update.

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

what does the --record=true flag do in kubectl apply?

A

It adds the command itself as an annotation in the k8s object.

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

What ties pods to deployments?

A

labels

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