Exam 2 finally worked, I have a question though. What is this --record command? . . .

David Andrade:
exam 2 finally worked, I have a question though. What is this --record command? I got the update question wrong, but I thought as long as you use declarative commands, your updates on deployments are “recorded” but I got this one wrong, and the solution shows the use of the --record parameter which didn’t appear in any of the lessons. What the difference between --record and what kubernetes automatically keeps track of in versioning? This is question #5 in mock exam 2 btw

new_day:
I’m not sure but I think to record your change

unnivkn:
please refer here: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/

keTh6ook:
The --record parameter was described in <https://www.udemy.com/course/learn-kubernetes/|Kubernetes for the Absolute Beginners - Hands-on>
Adding this parameter k8s adds the commandline you used to run a change (e.g. kubectl edit deployment …)
Results in a new line in kubectl rollout history.

… I think. Just started the cka course ;D