Difference between revisions of "MatchLabels:"
Jump to navigation
Jump to search
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{lc}} | |
spec: | spec: | ||
− | podSelector: | + | [[podSelector]]: |
matchLabels: | matchLabels: | ||
app: elasticsearch-master | app: elasticsearch-master | ||
+ | {{PDB example}} | ||
+ | |||
+ | |||
+ | [[spec.selector]] | ||
+ | == See also == | ||
* {{K8s selectors}} | * {{K8s selectors}} | ||
* {{K8s labels}} | * {{K8s labels}} | ||
+ | |||
+ | [[Category:K8s]] |
Latest revision as of 08:42, 3 October 2024
spec: podSelector: matchLabels: app: elasticsearch-master
apiVersion: policy/v1 kind: PodDisruptionBudget metadata: name: zk-pdb spec: minAvailable: 2 selector: matchLabels: app: zookeeper
spec.selector
See also[edit]
Advertising: