4 ms·
you can set hostAffinities on PersistentVolumes. nodeAffinity: required: nodeSelectorTerms: - matchExpressions: - key: kubernetes.io/
by foosinn 4y ago
you can set hostAffinities on PersistentVolumes.
nodeAffinity:
required:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/hostname
operator: In
values:
- <hostname>
this ensures that your workload will be rescheduled on the matching node