Found a nice command to understand a k8s object's expected manifest through "kub . . .

Malayamanas Panda:
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”

Bryan Tanoue:
I have my CKA in like 1 hour. I didn’t know you could do that on the last example.

Bryan Tanoue:
Also, this is a really neat way to build jsonpath!

Malayamanas Panda:
@Bryan Tanoue Thanks! This is really cool way to understand and troubleshoot K8s.

Bryan Tanoue:
Like during my CKA practice, I always wondered what were the explanations of each field. Really nice find.