Kubectl get field-selector Support

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal


Overview

field-selector Selector (field query) to filter on, supports '=', '==', and '!='.(e.g. --field-selector key1=value1,key2=value2). The server only supports a limited number of field queries per type.




kubectl get pods --all-namespaces -o wide --field-selector spec.nodeName=<node>