loading...
Cover image for How to monitor application using probes in OpenShift?

How to monitor application using probes in OpenShift?

sagarjadhv23 profile image Sagar Jadhav Updated on ・1 min read

OpenShift Essentials (8 Part Series)

1) How to manage Users & Project in Openshift? 2) How to create route in OpenShift? 3 ... 6 3) How to scale an application in OpenShift? 4) How to use Persistent Storage in OpenShift? 5) How to deploy application using Source to Image (S2I) in OpenShift? 6) How to monitor application using probes in OpenShift? 7) How to limit resources using Quotas & Limit Ranges in OpenShift? 8) How to deploy an application using Templates 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

OpenShift Essentials (8 Part Series)

1) How to manage Users & Project in Openshift? 2) How to create route in OpenShift? 3 ... 6 3) How to scale an application in OpenShift? 4) How to use Persistent Storage in OpenShift? 5) How to deploy application using Source to Image (S2I) in OpenShift? 6) How to monitor application using probes in OpenShift? 7) How to limit resources using Quotas & Limit Ranges in OpenShift? 8) How to deploy an application using Templates in OpenShift?

Posted on by:

sagarjadhv23 profile

Sagar Jadhav

@sagarjadhv23

Backend Developer (Cloud ☁️) | Cloud Technology Enthusiast (🐳 ☸) Redhat Certified OpenShift Administrator

Discussion

markdown guide