DEV Community

Cover image for How to monitor application using probes in OpenShift?
Sagar Jadhav
Sagar Jadhav

Posted on • Updated on • Originally published at developersthought.in

How to monitor application using probes in OpenShift?

Objective

  • Add Readiness Probe to Node JS Application
  • Add Liveness Probe to Node JS Application

Step 1: Deploy nodejs application using s2i

Refer How to deploy application using Source to Image (S2I) in OpenShift? blog

Step 2: Open dashobard

Alt Text

Step 3: Login with developer user

Alt Text

Step 4: Go to project my-project

Alt Text

Step 5: Go to application nodejs

Alt Text

Step 6: Go to deployment

Alt Text

Step 7: Go to health checks

Alt Text

Step 8: Add readiness probe

Alt Text

Step 9: Add liveness probe & save

Alt Text

Demo

Top comments (0)