Host name validation errors - route must be no more than 63 characters

Solution Unverified - Updated -

Issue

  • We're seeing this error from the Openshift router.
E1003 14:27:04.374282 1 router_controller.go:311] host name validation errors: spec.host: Invalid value: "inv-dev-eods-portfolio-reference-publisher-adapter-olyra-110-34-208.svcnp.ofi.com": must be no more than 63 characters
  • Some of our applications have very long names, and when prefixed with namespace and domain, it gets even longer and exceeds 63 chars limit for host names in OpenShift

Environment

  • Red Hat OpenShift Container Platform
    • 3.7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.