Troubleshoot HTTP readinessProbe in Openshift web applications

Solution Verified - Updated -

Issue

A web application has configured a HTTP readinessProbe like the following:

"readinessProbe": {
    "httpGet": {
        "path": "/healtz",
        "port": 8080,
        "scheme": "HTTP"
     },
     "initialDelaySeconds": 10,
     "timeoutSeconds": 1,
     "periodSeconds": 3,
     "successThreshold": 1,
     "failureThreshold": 3
},

After the given retries the application does not become ready. But the logs show the application started successfully and should be ready.

Environment

  • Openshift Container Platform 3.x

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