Questions tagged [startup-probe]
13 questions
5
votes
1 answer
How to enable startup probe on GKE 1.16?
I created a deployment with liveness and readiness probes and initial delay which works fine. If I want to replace the initial delay with a startup probe the startupProbe key and its nested elements are never included in the deployment descrioptor…

Kalle Richter
- 8,008
- 26
- 77
- 177
2
votes
1 answer
Kubernetes startup probe skipped after container restart
Running on Kubernetes v1.20
I have a startup probe configured and a liveness probe. On the first start of the container, the startup probe is executed until the liveness probe takes over (as documented). However, it seems if the liveness probe fails…

Jens De Temmerman
- 198
- 5
1
vote
1 answer
Openshift error: unable to find api field in struct Container for the json field "startupProbe"
I have this StartupProbe:
startupProbe:
httpGet:
path: someurl
port: 6060
scheme: HTTP
periodSeconds: 10
successThreshold: 1
failureThreshold: 12
timeoutSeconds: 9
When…

telion
- 834
- 1
- 9
- 34
1
vote
2 answers
Do the # in front of success and failure in Kubectl pod Describe (Kubernetes) mean something?
Does the # in front of success and failure in a Kubectl describe (refer picture) meant to represent something?
All of the elements in each of those probes represent a config element for the probe but success and failure are prefixed with a #. I…

Manglu
- 10,744
- 12
- 44
- 57
1
vote
1 answer
How to properly execute a command in a startupProbe in Kubernetes?
I am trying to use this startup probe
startupProbe:
exec:
command:
- >-
test $(java -cp /the/path/to/the/app.jar app.Controller port=4990 cmd="v" | grep -E 'r5|v5' | wc -l) -eq 2…

Kostas Demiris
- 3,415
- 8
- 47
- 85
1
vote
0 answers
StartupProbe doesn't work on EKS 1.18 when it's upgraded from 1.17
We noticed that StartupProbe works on a new EKS 1.18 cluster but if the cluster is upgraded from 1.17, it doesn't work. Is this a bug on EKS?

waterg
- 53
- 4
1
vote
2 answers
Kubernetes Startup probe when endpoint is not reachable
I have the following deployment config. The test-worker-health and health endpoints are both unreachable as the application is failing due to an error. The startup probe keeps restarting the container after failing as restartPolicy: Always. The pods…

Ruchika Salwan
- 25
- 6
0
votes
0 answers
Kubernetes startup probes gives error message `connect: connection refused` initially before api's are up
The startup probe's use to wait for api to available and start liveness probe and now before the health check api's are available, it is throwing the following error
{level: error, msg: Request to probe app failed: Get "http:///api/health": dial…

Rupak
- 99
- 2
- 6
0
votes
1 answer
Why startup probe is ignored?
I deployed WAS to Kubernetes(version 1.16). I used all three types of probes.
The Liveness probe is set to check if the WAS process is running and if all open ports are listening. The Readiness probe calls the healthcheck api of WAS via http get.…

Eddy Kim
- 33
- 2
0
votes
1 answer
Kubernetes - What happens if startupProbe runs beyond periodSeconds
I have a Deployment which runs a simple apache server. I want to execute some commands after the service is up. I am not quite sure how much time the post action commands going to take. I have "timeoutSeconds" set as more than…

Sujeet Padhi
- 254
- 1
- 20
0
votes
2 answers
flask app service can't connect to postgres service within docker-compose
I am trying to run flask, postgres and nginx services with following docker-compose:
version: '3.6'
services:
postgres:
image: postgres:10.5
container_name: postgres
hostname: postgres
user: postgres
ports:
-…

PatrickHellman
- 79
- 11
0
votes
1 answer
Kubernetes probe running acceptance test
I have a situation where my acceptance test makes a connection with a rabbitMQ instance during the pipeline. But the rabbitMQ instance is private, making not possible to make this connection in the pipeline.
I was wondering if making an api endpoint…

Marcos Penha
- 19
- 4
0
votes
1 answer
Startup probes not used in GKE 1.18
I've recently updated GKE cluster used in our project to version 1.18.16-gke.1200. One of the features we've been looking forward to were the startup probes. According to the overview of feature gates on Kubernetes' site, startup probes entered Beta…

Konpon96
- 25
- 7