cancel
Showing results for 
Search instead for 
Did you mean: 
slooshoo
Cadet
Cadet
  • 748 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
  • 652 Views
1 Reply
Huub
Mission Specialist
Mission Specialist
  • 653 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.