Chapter 6. Deploy the OpenShift Router

The OpenShift router is the entry point for external network traffic destined for OpenShift services. It supports HTTP, HTTPS, and any TLS-enabled traffic that uses SNI, which enables the router to send traffic to the correct service.

Without the router, OpenShift services and pods are unable to communicate with any resource outside of the OpenShift instance.

From OpenShift 3.2 onwards, the installer creates a default router.

  1. Delete the default router using the following command:

    oc delete all -l router=router
  2. Create a new default router:

    $ oadm router --replicas=1 --service-account=router

The OpenShift documentation contains detailed information on router deployment.