Startup, Liveness and Readiness Probes on OpenShift

What is the probe ?

startup, liveness and readiness probes process chart.

How to configure the probes ?

initialDelaySeconds(default: 0, min: 0): number of seconds until initialize the first probe check.
periodSeconds(default: 10, min: 1): number of seconds for interval to execute the check.
timeoutSeconds(default: 1, min: 1): number of seconds for the executed check timeout.
successThreshold(default: 1, min: 1): minimum consecutive successes for successful evaluation. startup and liveness probes must be 1.
failureThreshold(default: 3, min: 1): consecutive failures until the check is evaluated as fail.
startupProbe:
httpGet:
path: /startup_healthz
port: 8080
failureThreshold: 20
periodSeconds: 2
livenessProbe:
httpGet:
path: /liveness_healthz
port: 8080
failureThreshold: 3
periodSeconds: 3
readinessProbe:
httpGet:
path: /readiness_healthz
port: 8080
failureThreshold: 3
periodSeconds: 3

Hi, there. I’m Daein. Just do something fun :) Nothing happens, if you do nothing. #OpenShift #Kubernetes #Containers #Troubleshooting #Linux #OpenSource

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

DynamoDB + Python Cookbook

Generate finite element analysis(FEA) mesh from STL files

Western Shooter Devblog #14 | Building Easy UI in Unity

Creating an automated system which blocks an IP in case of some suspicious activity from that IP…

Who’s turn is it?

Dart — Isolates

Project Scope

Project Scope

K8s Café: Kubernetes Cluster on Azure Free Account

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Daein Park

Daein Park

Hi, there. I’m Daein. Just do something fun :) Nothing happens, if you do nothing. #OpenShift #Kubernetes #Containers #Troubleshooting #Linux #OpenSource

More from Medium

Kubernetes Clusters with “kind”

Kubernetes Opaque Secret

Open Application Model (OAM) — Bringing some sanity to application deployment on kubernetes (k8s).

Enhancing reliability by distributing your APP into multiple OpenShift clusters — Part II