Esignet Manual Deployment(Keycloak)

Keycloak:
Also when we tried to install the keycloak service with the command mentioned below which we retrieved from the document.

Command:
kubectl create -f
https://raw.githubusercontent.com/keycloak/keycloak-quickstarts/latest/kubernetes/keycloak.yaml

Error:

Events:

Type Reason Age From Message


Warning LoggingDisabled 3m fargate-scheduler Disabled logging because aws-logging configmap was not found. configmap “aws-logging” not found

Normal Scheduled 2m18s fargate-scheduler Successfully assigned config-server/keycloak-674fc86db9-4h8td to

Normal Pulling 2m17s kubelet Pulling image

Normal Pulled 2m4s kubelet Successfully pulled image in 13.298604505s (13.298625993s including waiting)

Normal Created 14s (x2 over 2m4s) kubelet Created container keycloak

Normal Pulled 14s kubelet Container image already present on machine

Normal Started 13s (x2 over 2m4s) kubelet Started container keycloak

Warning Unhealthy 9s (x18 over 2m4s) kubelet Readiness probe failed: Get “http://10.70.2.217:8080/realms/master”: dial tcp 10.70.2.217:8080: connect: connection refused

@Arjunkore

Would you kindly furnish the logs for Keycloak?

kubectl -n <namespace> logs <pod-name> --previouse

Additionally, I’ve observed the absence of a persistence volume in the deployment YAML file. This could result in data loss if the pod is restarted.

Furthermore, I’ve made adjustments to the probe configuration in the YAML file.

          startupProbe:
            httpGet:
              path: /realms/master
              port: 8080
            periodSeconds: 10
            successThreshold: 1
            timeoutSeconds: 5
            failureThreshold: 30
          readinessProbe:
            httpGet:
              path: /realms/master
              port: 8080
            periodSeconds: 10
            successThreshold: 1
            timeoutSeconds: 5
            failureThreshold: 30
          livenessProbe:
            httpGet:
              path: /realms/master
              port: 8080
            periodSeconds: 10
            successThreshold: 1
            timeoutSeconds: 5
            failureThreshold: 6