DEV Community

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

Posted on • Edited 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

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

Top comments (0)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay