Found a nice command to understand a k8s object’s expected manifest through “kubectl explain <object> --recursive”
Run below commands and see yourself.
“kubectl explain pod --recursive”
“kubectl explain deploy --recursive”
“kubectl explain deployment.spec.strategy”
“kubectl explain deployment.spec.strategy.rollingUpdate”
I have my CKA in like 1 hour. I didn’t know you could do that on the last example.
Also, this is a really neat way to build jsonpath!
@Bryan Tanoue Thanks! This is really cool way to understand and troubleshoot K8s.
Like during my CKA practice, I always wondered what were the explanations of each field. Really nice find.