[DevOps] – OpenShift – How to solve router error when a new project is created?

The following is an example of errors which can be faced when the router can’t be created.

Errors:
* route/mbaas is routing traffic to svc/fh-mbaas-service, but either the administrator has not installed a router or the router is not selecting this route.
* route/nagios is routing traffic to svc/nagios, but either the administrator has not installed a router or the router is not selecting this route.

Some tips:

  • To check

oadm router –dry-run \
–credentials=’/etc/openshift/master/openshift-router.kubeconfig’ \
–service-account=router

  • To create router

oadm router <router_name> –replicas=<number> \
–credentials=’/etc/origin/master/openshift-router.kubeconfig’ \
–service-account=router

+ More information:  https://docs.openshift.com/enterprise/3.2/install_config/install/deploy_router.html

If these tips don’t help you. Check the installation and the default project.

 

 

 

 

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s