slooshoo
Cadet
Cadet
  • 245 Views

Forcing pods to be assigned to different nodes unless no free nodes are available

Jump to solution

How would I do that?

1 Solution

Accepted Solutions
1 Reply
Huub
Mission Specialist
Mission Specialist
  • 150 Views

You need to have a look at the documentation on PodAffinity and PodAntiAffinity.

Search for example on 'topologyKey: kubernetes.io/hostname'

https://docs.openshift.com/container-platform/4.12/nodes/scheduling/nodes-scheduler-pod-affinity.htm...

https://docs.openshift.com/container-platform/4.12/nodes/scheduling/nodes-scheduler-about.html 

 

Join the discussion
You must log in to join this conversation.