16 questions
0
votes
0
answers
22
views
Init-container, but the startup-probe has run already
I have a service, which I would like to get data from a database.
But because the schematics sometimes can change, I need a way to ensure, that I can migrate it, and quickly have the service's new ...
0
votes
1
answer
98
views
GCP CloudRun startup probe fails after 7 attempts even though failureThreshold is set to 30
I have a GCP cloudRun container which I have configured with the following values for the startup probe (I confirmed they are correctly set on the revision)
initial delay 100s
timeout 10s
failure ...
0
votes
0
answers
35
views
I have an issue with k8s startup probes where when it meets mongoClient (pymongo), my pods will stuck in unready state
def test_mongodb(conn_str):
logging.debug("testing Mongo...")
try:
start_time = time.time() # Start timing
client = MongoClient(conn_str) ...
1
vote
1
answer
784
views
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
...
0
votes
0
answers
3k
views
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 ...
0
votes
1
answer
2k
views
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 ...
0
votes
1
answer
548
views
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 "...
0
votes
2
answers
664
views
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
...
1
vote
2
answers
153
views
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 ...
1
vote
1
answer
3k
views
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 ...
2
votes
1
answer
2k
views
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 ...
0
votes
1
answer
116
views
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 ...
1
vote
0
answers
107
views
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?
0
votes
1
answer
440
views
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 ...
1
vote
2
answers
2k
views
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 ...
5
votes
1
answer
1k
views
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 ...