Difference between revisions of "Topology.kubernetes.io"
Jump to navigation
Jump to search
↑ https://kubernetes.io/docs/reference/labels-annotations-taints/#topologykubernetesiozone
↑ https://kubernetes.io/docs/reference/labels-annotations-taints/#topologykubernetesioregion
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 4: | Line 4: | ||
[[topology.kubernetes.io/zone]] <ref>https://kubernetes.io/docs/reference/labels-annotations-taints/#topologykubernetesiozone</ref> | [[topology.kubernetes.io/zone]] <ref>https://kubernetes.io/docs/reference/labels-annotations-taints/#topologykubernetesiozone</ref> | ||
[[topology.kubernetes.io/region]] <ref>https://kubernetes.io/docs/reference/labels-annotations-taints/#topologykubernetesioregion</ref> | [[topology.kubernetes.io/region]] <ref>https://kubernetes.io/docs/reference/labels-annotations-taints/#topologykubernetesioregion</ref> | ||
+ | |||
+ | |||
+ | {{affinity example}} | ||
Revision as of 10:27, 8 March 2023
kubectl describe nodes | grep topology topology.kubernetes.io/zone [1] topology.kubernetes.io/region [2]
spec: affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - matchExpressions: - key: node_group operator: In values: - arm_db - key: topology.kubernetes.io/zone operator: In values: - us-east-1a
Related
affinity:
See also
- Kubernetes Topology Manager, K8s Pod Topology Spread Constraints, topologySpreadConstraints, TopologyKey
Advertising: