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.
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.
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.
4
Q
What ties pods to deployments?
A
labels