Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

MID Server in K8S -> readinessProbe & livenessProbe

BjörnB
Tera Contributor

Hi there,

 

we setup our MID-Server in a Kubernetes Cluster with ArgoCD.

I woundering about the lifeness and readiness Probes. We found a script "check_health.sh" in the MID-Server Application, but it doesn't work as expected. I give the container the wrong credentials and after 30 minutes it fails, but meanwhile its healthy again. I would expect that the readiness probe fail constantly after startup.

 

          readinessProbe:
            exec:
              command:
                - /bin/sh
                - '-c'
                - /opt/snc_mid_server/check_health.sh
            failureThreshold: 3
            initialDelaySeconds: 5
            periodSeconds: 10
            successThreshold: 1
            timeoutSeconds: 1

 Do you use other methods to implement the probes?

 

Thanks!

2 REPLIES 2

dannyfleer
Tera Contributor

Hi @BjörnB 

Were you able to solve the problem? I am also looking for a solution to monitor a containerized MID Server using Kubernetes probes.

I am surprised that I cannot find any resources on this topic.

BjörnB
Tera Contributor

Hey @dannyfleer 
Unfortunately not. To be honest, I don't have the time to explain the problem to the Support.
I tried it and then gave up because I have more useful things to do with my time.
The problem persists. Sorry!