Scheduling pods equally one pod per node using topologySpreadConstraints

Solution Verified - Updated -

Issue

  • How to make the application highly available by equally distributing it one per node?
  • The strategy should be that every pod should reside on a different worker node.

Environment

  • OpenShift Container Platform
    • 4.X

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content