How to create static routes in OpenShift Container Platform 4 with machine-config.

Solution Verified - Updated -


  • How to define persistent static routes up until OpenShift Container Platform 4.5.
  • For cluster running with OpenShift 4.6 and above, users could use the solution for the node.


  • OpenShift Container Platform 4.1, 4.2, 4.3, 4.4, 4.5.

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