Check out example codes for "using kubernetes field-selector". It will help you in understanding the concepts better.

Code Example 1

kubectl get pods --field-selector status.phase=Running

Learn ReactJs, React Native from akashmittal.com