Difference between revisions of "Kubernetes field selectors"
Jump to navigation
Jump to search
(14 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors/ | https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors/ | ||
− | + | * <code>[[kubectl get ingress]] [[--field-selector]] foo.bar=baz</code> | |
+ | * <code>[[kubectl -n gitlab-runner get events]] [[--field-selector]] type!=[[Normal]]</code> | ||
+ | |||
+ | == Related == | ||
+ | * [[Labels (Kubernetes)|Labels]], [[Annotations]] | ||
+ | * [[CKA v1.21: Understand how to use Labels, Selector and Annotations]] | ||
+ | * [[Kubernetes selectors]], <code>[[--selector]]</code> | ||
== See also == | == See also == | ||
* {{CKA}} | * {{CKA}} | ||
− | * {{ | + | * {{Kubernetes selectors}} |
[[Category:K8s]] | [[Category:K8s]] |
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: