Difference between revisions of "Kubernetes field selectors"
Jump to navigation
Jump to search
m (Welcome moved page Kubernetes Field Selectors to Kubernetes field selectors) |
|||
(3 intermediate revisions by the same user not shown) | |||
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 == | ||
* [[Labels (Kubernetes)|Labels]], [[Annotations]] | * [[Labels (Kubernetes)|Labels]], [[Annotations]] | ||
* [[CKA v1.21: Understand how to use Labels, Selector and 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: