KB:Kubectl EXPLAIN



Describe fields and structure of various resources.

This command describes the fields associated with each supported API resource. Fields are identified via a simple JSONPath identifier:

Behind the scenes, kubectl just made an API request to my Kubernetes cluster, grabbed the current Swagger documentation of the API version running in the cluster, and output the documentation and object types.

kubectl explain deployment
kubectl explain deployment --recursive
kubectl explain deployment.spec.strategy


References:

https://kubernetes.io/docs/reference/kubectl/generated/kubectl_explain/

https://blog.heptio.com/kubectl-explain-heptioprotip-ee883992a243

Comments

Popular posts from this blog

KB: Azure ACA Container fails to start (no User Assigned or Delegated Managed Identity found for specified ClientId)

Electron Process Execution Failure with FSLogix

KB:RMM VS DEX (Remote Monitoring Management vs Digital Employee Experience)