oadm router liveness wrong when a different port is specified

Solution In Progress - Updated -

Issue

  • If you specify different ports for node and port (like --ports '80:8080') when you create a router with hostnetwork=false, the liveness probe is configured to query 8080, but it checks the pod IP, so it fails because it should check the port 80.
    Modifying the dc to set the liveness probe to query port 80 works, but I think it should be done by default.
    Upstream issue: https://github.com/openshift/origin/issues/4908

Environment

  • Openshift 3.0

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

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content