kubernetes has in field selector code example Example: using kubernetes field-selector kubectl get pods --field-selector status.phase=Running