Comments (5)
I have also been having the same issue with the keycloak deploy.sh script, and have thus far not managed to find a solution:
keycloak % ./deploy.sh
🗝️ Keycloak deployment started.
📦 Installing Keycloak...
namespace/keycloak-system created
configmap/keycloak-config created
📦 Configuring Helm chart...
"bitnami" already exists with the same configuration, skipping
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "bitnami" chart repository
Update Complete. ⎈Happy Helming!⎈
Release "polar-keycloak" does not exist. Installing it now.
NAME: polar-keycloak
LAST DEPLOYED: Tue Apr 25 12:47:22 2023
NAMESPACE: keycloak-system
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
CHART NAME: keycloak
CHART VERSION: 14.2.0
APP VERSION: 21.0.2
** Please be patient while the chart is being deployed **
Keycloak can be accessed through the following DNS name from within your cluster:
polar-keycloak.keycloak-system.svc.cluster.local (port 80)
To access Keycloak from outside the cluster execute the following commands:
- Get the Keycloak URL by running these commands:
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
You can watch its status by running 'kubectl get --namespace keycloak-system svc -w polar-keycloak'
export HTTP_SERVICE_PORT=$(kubectl get --namespace keycloak-system -o jsonpath="{.spec.ports[?(@.name=='http')].port}" services polar-keycloak)
export SERVICE_IP=$(kubectl get svc --namespace keycloak-system polar-keycloak -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
echo "http://${SERVICE_IP}:${HTTP_SERVICE_PORT}/"
- Access Keycloak using the obtained URL.
⌛ Waiting for Keycloak to be deployed...
⌛ Waiting for Keycloak to be ready...
error: timed out waiting for the condition on pods/polar-keycloak-0
As seen above, the script throws a timeout error whilst waiting for the polar-keycloak-0 pod to be ready and falls into a CrashLoopBackOff state.
The issue seems to be that the server within the polar-keycloak-0 pod does not start: is this a property defined in the keycloak-config.yml file or is it managed by Bitnami? Should the issue be raised within the Bitnami/keycloak repo?
Is there an alternative way to deploy a keycloak authentication service on Digital Ocean?
from cloud-native-spring-in-action.
i hope @ThomasVitale can come to the rescue at his most available time
from cloud-native-spring-in-action.
@sewah2012 @jempitman thank you both very much for reporting this issue. I should have blocked the Helm chart version in the scripts. The problem is that newer Chart versions from Bitnami don't work with Keycloak 19, which is the version used in the book. I have updated the scripts now and they should work correctly on DigitalOcean. It would be great if you could verify they work for you as well, thank you so much! You can find the necessary change in de5401d
from cloud-native-spring-in-action.
Hi @ThomasVitale, thank you for updating the script, it is now correctly for me.
from cloud-native-spring-in-action.
@jempitman thanks for confirming it works, I'll close the issue now. Feel free to register new issues should you encounter further problems with the scripts, thank you!
from cloud-native-spring-in-action.
Related Issues (20)
- Fluent bit docker images are not compatible with Apple M2 chips. HOT 2
- Change kubeval by kubeconform HOT 2
- minikube not able to pull images HOT 2
- Issues with Tiltfile HOT 1
- Chapter13 end: connection error from edge-service HOT 4
- Chapter 12 - end. Flyway SQL files without flyway dependency in gradle/pom file HOT 2
- Chapter 2 bug in commit-stage.yaml example HOT 2
- ArgoCD LoadBalancer not provisioning HOT 4
- catalog-service fails when started from docker-compose in chapter 6 when all 3 services including config-service HOT 1
- Chapter 9 minikube addons enable ingress failure in China HOT 4
- Chapter 06: Unable to Publish COntainer Image HOT 2
- Chapter 10.4.3 Exercise Solution:Integration test using real world RabbitMQ broker with testcontainers HOT 2
- [chapter 11.5.2] I am uncertain about the complete overview of the entire workflow. HOT 1
- I find a blemish when I write slice test in chapter 12.3.2 HOT 1
- [Chapter 13.2.2] Why not including RabbitMQ in the computation of the readiness state HOT 2
- Chapter 7: Fails to build docker image with Tilt HOT 2
- Please Create Guide for Setting up a Kubernetes cluster for Polar Bookshop on AWS
- Chapter 2: minikube image load failed HOT 3
- Chapter 15: Fail to deploy ArgoCD to DigitalOcean K8s
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloud-native-spring-in-action.