You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.
Change the Keycloak CRD and associated constructs to take in parameters defining different healthcheck criteria for liveness/readiness. Could be just a change to the failureThreshold, or the initialDelaySeconds, or a redefinition of what constitutes the health checks themselves.
Discussion
No response
Motivation
Deploying a Keycloak instance via the operator in a resource-constrained environment can lead to Kubernetes killing and restarting the deployment due to failing liveness probes, as it takes longer for the keycloak server to actually bootstrap (I imagine CPU throttling being the underlying cause in our case). Being able to extend or modify those health checks would allow for Keycloak deployment in a wider variety of environments.
Details
I believe this will be a simple change to the CRD, and the const values defined in the accompanying KeycloakDeployment code in Go.
The text was updated successfully, but these errors were encountered:
Hi @NickG22293 ,
I do understand that the feature you are requesting is possibly useful, although we are currently planning to completely re-write the operator: keycloak/keycloak-community#330
I encourage you to ask for this feature in the upcoming operator, for now I close this issue, feel free to re-open it or continue the discussion 🙂
@NickG22293 It is actually possible to use a custom scripts for liveness and readiness checks. All you need to do is to overwrite the default keycloak-probes ConfigMap, the operator won't overwrite it back to its default values.
However, the thresholds etc. are hardcoded and unconfigurable.
Description
Change the Keycloak CRD and associated constructs to take in parameters defining different healthcheck criteria for liveness/readiness. Could be just a change to the failureThreshold, or the initialDelaySeconds, or a redefinition of what constitutes the health checks themselves.
Discussion
No response
Motivation
Deploying a Keycloak instance via the operator in a resource-constrained environment can lead to Kubernetes killing and restarting the deployment due to failing liveness probes, as it takes longer for the keycloak server to actually bootstrap (I imagine CPU throttling being the underlying cause in our case). Being able to extend or modify those health checks would allow for Keycloak deployment in a wider variety of environments.
Details
I believe this will be a simple change to the CRD, and the const values defined in the accompanying KeycloakDeployment code in Go.
The text was updated successfully, but these errors were encountered: