-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
be able to configure server liveness/readiness/startup probe #300
Conversation
to test, first "make build-helm-charts" and then... configure with custom values:
you should see in the output: readinessProbe:
httpGet:
path: /kiali/healthz
port: api-port
scheme: HTTP
initialDelaySeconds: 123
periodSeconds: 456 then do not configure or set with empty string - see defaults take effect:
and you should see in the output: readinessProbe:
httpGet:
path: /kiali/healthz
port: api-port
scheme: HTTP
initialDelaySeconds: 5
periodSeconds: 30
|
do not merge this - I think we need to change this to configure the startup probe, not the readiness probe (based on the github issue description of why this is needed) |
latest commit lets you config some or all three probes - because you just know SOMEBODY somewhere is going to want to configure one of the other ones (not just readiness). to test that you can configure all three:
and you should see this: readinessProbe:
httpGet:
path: /kiali/healthz
port: api-port
scheme: HTTP
initialDelaySeconds: 11
periodSeconds: 22
livenessProbe:
httpGet:
path: /kiali/healthz
port: api-port
scheme: HTTP
initialDelaySeconds: 33
periodSeconds: 44
startupProbe:
httpGet:
path: /kiali/healthz
port: api-port
scheme: HTTP
initialDelaySeconds: 55
periodSeconds: 66
failureThreshold: 77 |
when you don't set them - the defaults are: readinessProbe:
httpGet:
path: /kiali/healthz
port: api-port
scheme: HTTP
initialDelaySeconds: 5
periodSeconds: 30
livenessProbe:
httpGet:
path: /kiali/healthz
port: api-port
scheme: HTTP
initialDelaySeconds: 5
periodSeconds: 30
startupProbe:
httpGet:
path: /kiali/healthz
port: api-port
scheme: HTTP
initialDelaySeconds: 30
periodSeconds: 10
failureThreshold: 6 |
6ef1225
to
8e33258
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nerd, I was just playing around to see if I could better understand this stuff :-) Probably my lack of expertise hurt your eyes.
fixes: kiali/kiali#7832