slooshoo
Cadet
Cadet
  • 388 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
Huub
Mission Specialist
Mission Specialist
  • 292 Views
1 Reply
Huub
Mission Specialist
Mission Specialist
  • 293 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.