cancel
Showing results for 
Search instead for 
Did you mean: 
riccib-euris
Mission Specialist
Mission Specialist
  • 515 Views

What to look for when route keeps recreating with name+extension

Jump to solution

Let's suppose that in project my-prj there is a a route "my-route-8752a".

Whatever way I try to change this route (i.e. "oc replace -f my-route.yaml", "oc edit route my-route-8752a") what i get is a new route is automatically created with a new name (ex. "my-route-3r56c2") and has the same values of the previous (wrong) route.

To me the name of the new route seems to followeing a schema similar to how names are automatically given to new pods (i.e. "pod-name-randomextension")

There are no templates in openshift-config. Perhaps the route is defined in the dc/deployment?

What do I miss?

 

Thanks

Labels (3)
0 Kudos
1 Solution

Accepted Solutions
riccib-euris
Mission Specialist
Mission Specialist
  • 485 Views

And here is the solution!

Instead of a route, an ingress with wrong values is defined.
If you delete the route, it is re-created with a different route-name, but still wrong.
To fix this, edit the ingress configuration with correct values.
Once done, the correct route is generated everyting works.

Who will take EX280 should take care: when studying DO280 you never work with a deployment ingress, you always work with route. Practice with ingress before taking the exam.

View solution in original post

0 Kudos
1 Reply
riccib-euris
Mission Specialist
Mission Specialist
  • 486 Views

And here is the solution!

Instead of a route, an ingress with wrong values is defined.
If you delete the route, it is re-created with a different route-name, but still wrong.
To fix this, edit the ingress configuration with correct values.
Once done, the correct route is generated everyting works.

Who will take EX280 should take care: when studying DO280 you never work with a deployment ingress, you always work with route. Practice with ingress before taking the exam.

0 Kudos
Join the discussion
You must log in to join this conversation.