Not started mongodb replicaset in Kubernetes (baremetal, no direct connection to the internet)

I have…

  • Read the following guideline: Troubleshooting and Support | Squidex. I understand that my support request might get deleted if I do not follow the guideline.
  • Used code blocks with ``` to format my code examples like JSON or logs properly.

I’m submitting a…

  • Regression (a behavior that stopped working in a new release)
  • Bug report
  • Performance issue
  • Documentation issue or request

Current behavior

Install from helm chart:

helm upgrade --install squidex squidex/squidex7  --wait  --namespace=mca-test -f values.yaml

Expected behavior

Minimal reproduction of the problem

Pod not started:
squidex-mongodb-replicaset-0 0/1 Init:2/3

Environment

kubectl describe pod squidex-mongodb-replicaset-0 -n mca-test

Events:
  Type    Reason     Age    From               Message
  ----    ------     ----   ----               -------
  Normal  Scheduled  4m16s  default-scheduler  Successfully assigned mca-test/squidex-mongodb-replicaset-0 to k8s-w3-dmz
  Normal  Pulled     4m15s  kubelet            Container image "busybox:1.29.3" already present on machine
  Normal  Created    4m15s  kubelet            Created container copy-config
  Normal  Started    4m15s  kubelet            Started container copy-config
  Normal  Pulled     4m15s  kubelet            Container image "unguiculus/mongodb-install:0.7" already present on machine
  Normal  Created    4m15s  kubelet            Created container install
  Normal  Started    4m15s  kubelet            Started container install
  Normal  Pulled     4m14s  kubelet            Container image "mongo:3.6" already present on machine
  Normal  Created    4m14s  kubelet            Created container bootstrap
  Normal  Started    4m14s  kubelet            Started container bootstrap
  
kubectl describe Statefulset squidex-mongodb-replicaset -n mca-test


Events:
  Type     Reason               Age                    From                    Message
  ----     ------               ----                   ----                    -------
  Normal   SuccessfulCreate     7m59s (x2 over 97m)    statefulset-controller  create Pod squidex-mongodb-replicaset-0 in StatefulSet squidex-mongodb-replicaset successful
  Warning  RecreatingFailedPod  7m59s (x2 over 7m59s)  statefulset-controller  StatefulSet mca-test/squidex-mongodb-replicaset is recreating failed Pod squidex-mongodb-replicaset-0
  Warning  FailedDelete         7m59s (x2 over 7m59s)  statefulset-controller  delete Pod squidex-mongodb-replicaset-0 in StatefulSet squidex-mongodb-replicaset failed error: pods "squidex-mongodb-replicaset-0" not found
kubectl logs squidex-mongodb-replicaset-0 -n mca-test

Defaulted container "mongodb-replicaset" out of: mongodb-replicaset, copy-config (init), install (init), bootstrap (init)
Error from server (BadRequest): container "mongodb-replicaset" in pod "squidex-mongodb-replicaset-0" is waiting to start: PodInitializing

App Name:

  • Self hosted with docker
  • Self hosted with IIS
  • Self hosted with other version
  • Cloud version

Kubernetes (baremetal, no direct connection to the internet)

Version: [VERSION]
Kubernetes v1.27.5

Browser:

  • Chrome (desktop)
  • Chrome (Android)
  • Chrome (iOS)
  • Firefox
  • Safari (desktop)
  • Safari (iOS)
  • IE
  • Edge

Others: