-
Notifications
You must be signed in to change notification settings - Fork 612
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
Keycloak 25.0.0 Helm Chart deployment -> CrashLoop #778
Comments
See mine, mine no crash, but web console not loaded #777 |
I don't have any error anywhere i can see though, so it is different. |
@zeppelinux - did you find a resolution to this? I'm seeing the same issue. I had a good install with 22.0.4, but I bumped the image to 24.0.5. Same problem, though. |
I had to replace my After I added the probes to my values.yaml with the port set to |
The issue come from you are using the --hostname-strict-https options that has been removed. Please see: #779 |
I was facing the same problem with all probes failing. The root cause was that management interface only listens on HTTPS but not HTTP. Apparently, unlike the main KC server, management interface server, which is now a separate server, can only listen on one but not both. I've tried a lot of things to get it to listen on HTTP instead of HTTPS, but couldn't figure out how. Stuck with this for now:
For reference, this is my startup command:
For want of a better solution, I got probes to work for now by redeclaring the default probes from the template in my
Fortunately, K8s doesn't care about TLS certificate validity when it comes to HTTP probes. I hope it helps someone. |
Hey, im also running into a crashloop. For whatever reason, all my deployment is doing is this:
As you can see after some time keycloak just stops. I use 2.4.3 of the helm chart and 25.0.1 as the keycloak version. In my kubernetes logs i get this:
This is my start command configured in the helm values:
Any help would be highly appreciated. |
Upgraded keycloak from 22.0..4 to 25.0.0 using new keycloakx chart as a drop in replacement - same helm cmd line, same values.yaml. The service starts and fails/CrashLoops.
Initial error:
Startup probe failed: Get "http://10.42.2.163:9000/auth/health": dial tcp 10.42.2.163:9000: connect: connection refused
I disabled health check by adding health.enabled=false to the values.yaml, but it still crashes. Nothing in the service logs besides this:
`Appending additional Java properties to JAVA_OPTS
Changes detected in configuration. Updating the server image.
Updating the configuration and installing your custom providers, if any. Please wait.
2024-06-29 00:19:35,792 INFO [io.qua.dep.QuarkusAugmentor] (main) Quarkus augmentation completed in 16683ms
Server configuration updated and persisted. Run the following command to review the configuration:
kc.sh show-config
Next time you run the server, just run:
kc.sh --verbose start --http-enabled=true --http-port=8080 --hostname-strict=false --hostname-strict-https=false --spi-events-listener-jboss-logging-success-level=info --spi-events-listener-jboss-logging-error-level=warn --optimized
Disabled option: '--hostname-strict-https'. Available only when hostname:v1 feature is enabled
Possible solutions: --hostname, --hostname-admin, --hostname-backchannel-dynamic, --hostname-strict, --hostname-debug
Try 'kc.sh start --help' for more information on the available options.
Specify '--help-all' to obtain information on all options and their availability
DB checker:
Waiting for Database to become ready... .Database OK ✓
CrashLoopBackOff: back-off 5m0s restarting failed container=keycloak
The text was updated successfully, but these errors were encountered: