Exercise 1 - Setup Keycloak on Kubernetes
Step 1: Clone the project to your local machine
git clone https://github.com/thomassuedbroecker/keycloak-on-kubernetes-frontend-backend
cd keycloak-on-kubernetes-frontend-backend
ROOT_FOLDER=$(pwd)Step 2: Apply the deployment specification
cd $ROOT_FOLDER/keycloak-deployment
kubectl apply -f deployment.yamlStep 3: Verify the deployment with kubectl
kubectl get podsNAME READY STATUS RESTARTS AGE
keycloak-74d59dc658-8ttlp 1/1 Running 0 6m9sStep 4: Apply the service specification
cd $ROOT_FOLDER/keycloak-deployment
kubectl apply -f service.yamlStep 5: Verify the running Keycloak on Kubernetes
Step 6: Import the existing realm configuration






(Optional) Step 3: Verify the imported realm cloudnativestarter
cloudnativestarter






Step 4: Add a user




Step 5: Add user to Group

PreviousPre work - Setup free IBM Cloud Kubernetes Cluster and IBM Cloud Container RegistryNextExercise 2 - Change code, build, save and deploy the Authors Microservice
Last updated