Difference between revisions of "Kubernetes field selectors"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
* <code>[[kubectl get ingress]] [[--field-selector]] foo.bar=baz</code> | * <code>[[kubectl get ingress]] [[--field-selector]] foo.bar=baz</code> | ||
− | * <code>[[kubectl -n gitlab-runner get events]] [[--field-selector]] type!=Normal</code> | + | * <code>[[kubectl -n gitlab-runner get events]] [[--field-selector]] type!=[[Normal]]</code> |
== Related == | == Related == |
Latest revision as of 08:57, 18 September 2023
https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors/
kubectl get ingress --field-selector foo.bar=baz
kubectl -n gitlab-runner get events --field-selector type!=Normal
Related[edit]
- Labels, Annotations
- CKA v1.21: Understand how to use Labels, Selector and Annotations
- Kubernetes selectors,
--selector
See also[edit]
Advertising: