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