feat(argo-cd): Support livenessProbe for Application Controller#2978
feat(argo-cd): Support livenessProbe for Application Controller#2978yu-croco wants to merge 2 commits intoargoproj:mainfrom
Conversation
Signed-off-by: yu-croco <yu.croco@gmail.com>
| httpGet: | ||
| path: /healthz | ||
| port: metrics |
There was a problem hiding this comment.
| livenessProbe: | ||
| httpGet: | ||
| path: /healthz | ||
| port: metrics |
There was a problem hiding this comment.
There was a problem hiding this comment.
We should place a (prominent) note that this can have side effects.
We once had the probes on the application-controller but due to an (upstream) issue, upstream removed it and thus we also removed it in the helm chart.
Current controller liveness probe is a noop just checking if the metric-server is able to receive requests.
In cases when the controller is overloaded reconciling large queues restarting the Pod is more harmful than letting it running. In discussion with @alexmt we understand that liveness probe should be removed from the controller to prevent it from being restarted.
Signed-off-by: Leonardo Luz Almeida leonardo_almeida@intuit.com
Xref:
|
@mkilchhofer Thank you for your review with the backgroud. |
Resolves #2973
Checklist: