Unable to scale up keycloak on kubernetes
ajmalkhalil opened this issue · comments
Dear All, Getting below error while installing keycloakx version. I tried to install keycloak version instead of keycloakx but still getting this error. If anyone else got the same issue kindly help?
Also, postgres db is running
kubectl logs -f pod/keycloak-keycloakx-0 -n keycloakx
Defaulted container "keycloak" out of: keycloak, dbchecker (init)
Error from server (BadRequest): container "keycloak" in pod "keycloak-keycloakx-0" is waiting to start: PodInitializing
kubectl get all -n keycloakx
NAME READY STATUS RESTARTS AGE
pod/keycloak-db-postgresql-0 1/1 Running 0 21m
pod/keycloak-keycloakx-0 0/1 Init:0/1 0 8m16s
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/keycloak-db-postgresql ClusterIP 10.106.212.182 5432/TCP 21m
service/keycloak-db-postgresql-hl ClusterIP None 5432/TCP 21m
service/keycloak-keycloakx-headless ClusterIP None 80/TCP 13m
service/keycloak-keycloakx-http ClusterIP 10.96.71.127 80/TCP,8443/TCP 13m
NAME READY AGE
statefulset.apps/keycloak-db-postgresql 1/1 21m
statefulset.apps/keycloak-keycloakx 0/1 13m
kubectl describe pod/keycloak-keycloakx-0 -n keycloakx
Events:
Type Reason Age From Message
Normal Scheduled 5m54s default-scheduler Successfully assigned keycloakx/keycloak-keycloakx-0 to work-node1
Normal Pulled 5m55s kubelet Container image "docker.io/busybox:1.32" already present on machine
Normal Created 5m55s kubelet Created container dbchecker
Normal Started 5m54s kubelet Started container dbchecker
I tried to install keycloakx version of 21.1.1 but that is also showing the same issue.
Any help would be highly appreciated.
This issue has been marked as stale because it has been open for 30 days with no activity. It will be automatically closed in 10 days if no further activity occurs.