Difference between revisions of "Affinity:"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
Line 2: | Line 2: | ||
[[spec.affinity]] | [[spec.affinity]] | ||
+ | |||
+ | 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]] | ||
Revision as of 10:26, 8 March 2023
spec.affinity
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
- Kubernetes pod affinity and anti affinity
0/2 nodes are available: 1 Too many pods, 1 nodes(s) didn't match Pod's node affinity/selector
See also
Advertising: