In JSONPATH questions, how to get jsonpath for a key: like There is a question i . . .

Yannam C Chiranjeevi:
In JSONPATH questions, how to get jsonpath for a key: like There is a question in Lightening Lab there is a question for READY_REPLICAS from “kubectl get deploy”

Hinodeya learn:
kubectl get deploy -o json first to examine the json content

Hinodeya learn:
after that make this command for exemple for readyReplicas

Hinodeya learn:
kubectl get deploy -o custom-columns=Rep:status.readyReplicas

Hinodeya learn:
Also I recommand to follow this lesson https://kodekloud.com/courses/enrolled/635226

Hinodeya learn:
@Yannam C Chiranjeevi I hope it’ll be sufficient for you