Is it possible to combine oc/kubectl's JSONPath expressions with AND/OR/NOT?
Issue
- I want to extract the node that has
node-role.kubernetes.io/worker=label but does not havenode-role.kubernetes.io/infra=label. Is this possible with one command usingoc/kubectl? - JSONPath expressions can be used in
oc/kubectl. Is it possible to combine the JSONPath expressions with AND/OR/NOT?
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.