Route and path matches, but all pods are down


#1

Hi,

I’m trying the Kong Ingress on an OpenShift cluster following instructions here: https://github.com/Kong/kubernetes-ingress-controller/blob/master/docs/deployment/openshift.md.

No problems during installation but can’t access foo.bar. See error message below. I can access the http-svc pod just fine so the pod is running. Any idea of what could be wrong?

<div>
  <h1>Application is not available</h1>
  <p>The application is currently not serving requests at this endpoint. It may not have been started or is still starting.</p>

  <div class="alert alert-info">
    <p class="info">
      Possible reasons you are seeing this page:
    </p>
    <ul>
      <li>
        <strong>The host doesn't exist.</strong>
        Make sure the hostname was typed correctly and that a route matching this hostname exists.
      </li>
      <li>
        <strong>The host exists, but doesn't have a matching path.</strong>
        Check if the URL path was typed correctly and that the route was created using the desired path.
      </li>
      <li>
        <strong>Route and path matches, but all pods are down.</strong>
        Make sure that the resources exposed by this route (pods, services, deployment configs, etc) have at least one pod running.
      </li>
    </ul>
  </div>
</div>

Regards,
Luiz


#2

Oh, never mind. The issue is that we have an OpenShift Route to access Kong. That piece uses HAProxy and that is the one returning that message. We don’t have a LoadBalancer yet so will have to come up with another way to reach Kong within the cluster, or move it outside.

Regards,
Luiz