Skip to content
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

CrashLoopBackOff OpenLDAP ltb-passwd and phpldapadmin Pods #15

Open
in0rdr opened this issue Apr 18, 2023 · 0 comments
Open

CrashLoopBackOff OpenLDAP ltb-passwd and phpldapadmin Pods #15

in0rdr opened this issue Apr 18, 2023 · 0 comments

Comments

@in0rdr
Copy link
Contributor

in0rdr commented Apr 18, 2023

In my kind environment, the ltb-passwd and phpldapadmin Pods do not boot reliably, even after killing the Pods and letting them be restarted by the deployments:

kubectl get deploy
NAME                                       READY   UP-TO-DATE   AVAILABLE   AGE
homer                                      1/1     1            1           35m
kube-stack-prometheus-grafana              1/1     1            1           34m
kube-stack-prometheus-kube-operator        1/1     1            1           34m
kube-stack-prometheus-kube-state-metrics   1/1     1            1           34m
openldap-stack-ha-ltb-passwd               0/1     1            0           35m
openldap-stack-ha-phpldapadmin             0/1     1            0           35m

Seems like liveness and/or readiness probe are not configured correctly:

Events:
  Type     Reason     Age                   From               Message
  ----     ------     ----                  ----               -------
  Normal   Scheduled  4m1s                  default-scheduler  Successfully assigned default/openldap-stack-ha-phpldapadmin-59997cfd4f-qp4fb to vault-playground-control-plane
  Normal   Pulled     3m31s (x2 over 4m1s)  kubelet            Container image "osixia/phpldapadmin:0.9.0" already present on machine
  Normal   Created    3m31s (x2 over 4m1s)  kubelet            Created container phpldapadmin
  Normal   Started    3m30s (x2 over 4m)    kubelet            Started container phpldapadmin
  Warning  Unhealthy  3m30s (x2 over 4m)    kubelet            Readiness probe failed: Get "http://10.244.0.37:80/": dial tcp 10.244.0.37:80: connect: connection refused
  Warning  Unhealthy  3m1s (x9 over 3m59s)  kubelet            Readiness probe failed: HTTP probe failed with statuscode: 403
  Warning  Unhealthy  3m1s (x6 over 3m51s)  kubelet            Liveness probe failed: HTTP probe failed with statuscode: 403
  Normal   Killing    3m1s (x2 over 3m31s)  kubelet            Container phpldapadmin failed liveness probe, will be restarted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant