Questions tagged [readinessprobe]

114 questions
0
votes
1 answer

Best practice for k8s command health probe

I have a worker pod that subscribes to a service queue. We need to define the liveness probe to monitor worker health. the worker pod doesn't expose any HTTP or TCP port. So I use the command to check worker health. like this. livenessProbe: …
Ruoxuan.Wang
  • 179
  • 1
  • 2
  • 13
0
votes
1 answer

HaProxy Ingress Controller - what is the process of add a pod?

On a Kubernetes cluster when using HaProxy as an ingress controller. How will the HaProxy add a new pod when the old pod has died. Does it can make sure that the pod is ready to get traffic into. Right now I am using a readiness probe and liveness…
0
votes
0 answers

Kubernetes pod with readiness probe on Azure AKS check returns 404 http status

I have a Pod which listens to port 8000. When i add readiness probe and redeploy, the check fails with the message "readiness failed with http status 404" I have the the values for readiness check set as below timeoutSecond: 30sec periodSeconds:…
Vaishnav
  • 611
  • 1
  • 9
  • 23
0
votes
1 answer

Kubernetes readinessProbe returns "connection refuse"

My environment is: Ruby on Rails, Vue.js, Webpacker, and Kubernetes. I added readinessProbe for healthcheck in my deployment of K8s, but the pod cannot get ready to start, so I checked the logs with the command: kubectl describe po -n…
Realpro
  • 3
  • 6
0
votes
1 answer

Reusing readiness probe of a dependent service to control start up of a service

I have a back-end service that I will control using Kubernetes (with a Helm chart). This back-end service connects to a data-base (MonogoDB, it so happens). There is no point in starting up the back-end service until the data-base is ready to…
Raedwald
  • 46,613
  • 43
  • 151
  • 237
0
votes
1 answer

Kubernetes livenessProbe/readinessProbe deploy problem

I tried to apply my pod with livenessProbe and readinessProbe. The problem is that i get a error: after apply: kubectl apply -f test1.yaml Error: The Pod "test1" is invalid: spec: Forbidden: pod updates may not change fields other than…
djkobi97
  • 77
  • 6
0
votes
1 answer

Kubernetes readinessProbe configure to change pinging time

My setting for readinessProbe is following: readinessProbe: httpGet: path: /up port: *status-port initialDelaySeconds: 5 periodSeconds: 5 successThreshold: 1 I want to…
Satyajit Das
  • 2,740
  • 5
  • 16
  • 30
-1
votes
1 answer

Kubernetes is sending traffic to unhealthy pods

I have some setup of 2 pods using StatefulSet behind a nodeport service with AWS ingress and sending traffic to this service through ALB endpoint. Then I patch the StatefulSet to have only 1 pod. I have configured this StatefulSet with readiness…
-1
votes
1 answer

example for kubernetes liveness and readiness probe endpoints

can someone give an example or explain the difference between the liveness endpoint and the readiness endpoint for a webapp, that has a /ping endpoint that returns pong. Do I need different probes here at all? I read in this…
1 2 3 4 5 6 7
8