Startup probe failed while deploying standalone instance of neo4j

Hi everyone,

The neo4j pod keeps giving the error:


~/Desktop/projects 
❯ kubectl describe pod/my-neo4j-release-0
Name:             my-neo4j-release-0
Namespace:        neo4j
Priority:         0
Service Account:  default
Node:             demo-worker2/172.18.0.2
Start Time:       Thu, 08 Dec 2022 19:04:28 +0530
Labels:           app=my-standalone
                  controller-revision-hash=my-neo4j-release-7d6df6fc8b
                  helm.neo4j.com/clustering=false
                  helm.neo4j.com/instance=my-neo4j-release
                  helm.neo4j.com/neo4j.loadbalancer=include
                  helm.neo4j.com/neo4j.name=my-standalone
                  helm.neo4j.com/pod_category=neo4j-instance
                  statefulset.kubernetes.io/pod-name=my-neo4j-release-0
Annotations:      checksum/my-neo4j-release-config: 68dcbfc298a710b963c5662b39f1a9c34d139d9b175a0d4d7149c3150f4186b6
Status:           Running
IP:               10.244.3.11
IPs:
  IP:           10.244.3.11
Controlled By:  StatefulSet/my-neo4j-release
Containers:
  neo4j:
    Container ID:   containerd://18e2c9a521ba5cf0f03a780b9667964c06833573f7bc26a6ed2d4e93f798fe63
    Image:          neo4j:5.2.0
    Image ID:       docker.io/library/neo4j@sha256:8e5106e9bb338719e4cadf6d92103f873bbb7edc23e098c38648d802f29eaf56
    Ports:          7474/TCP, 7687/TCP, 7473/TCP, 6362/TCP
    Host Ports:     0/TCP, 0/TCP, 0/TCP, 0/TCP
    State:          Running
      Started:      Thu, 08 Dec 2022 19:07:57 +0530
    Last State:     Terminated
      Reason:       Error
      Exit Code:    3
      Started:      Thu, 08 Dec 2022 19:06:37 +0530
      Finished:     Thu, 08 Dec 2022 19:07:27 +0530
    Ready:          False
    Restart Count:  3
    Limits:
      cpu:     500m
      memory:  2Gi
    Requests:
      cpu:      500m
      memory:   2Gi
    Liveness:   tcp-socket :7687 delay=0s timeout=10s period=5s #success=1 #failure=40
    Readiness:  tcp-socket :7687 delay=0s timeout=10s period=5s #success=1 #failure=20
    Startup:    tcp-socket :7687 delay=0s timeout=1s period=5s #success=1 #failure=1000
    Environment Variables from:
      my-neo4j-release-env  ConfigMap  Optional: false
      my-standalone-auth    Secret     Optional: false
    Environment:
      HELM_NEO4J_VERSION:       5.2.0
      HELM_CHART_VERSION:       5.2.0
      POD_NAME:                 my-neo4j-release-0 (v1:metadata.name)
      SERVICE_NEO4J_ADMIN:      my-neo4j-release-admin.neo4j.svc.cluster.local
      SERVICE_NEO4J_INTERNALS:  my-neo4j-release-internals.neo4j.svc.cluster.local
      SERVICE_NEO4J:            my-neo4j-release.neo4j.svc.cluster.local
    Mounts:
      /backups from data (rw)
      /config/neo4j.conf from neo4j-conf (rw)
      /config/server-logs.xml from neo4j-server-logs (rw)
      /config/user-logs.xml from neo4j-user-logs (rw)
      /data from data (rw)
      /import from data (rw)
      /licenses from data (rw)
      /logs from data (rw)
      /metrics from data (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-f8l2b (ro)
Conditions:
  Type              Status
  Initialized       True 
  Ready             False 
  ContainersReady   False 
  PodScheduled      True 
Volumes:
  data:
    Type:       PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
    ClaimName:  data-my-neo4j-release-0
    ReadOnly:   false
  neo4j-conf:
    Type:               Projected (a volume that contains injected data from multiple sources)
    ConfigMapName:      my-neo4j-release-default-config
    ConfigMapOptional:  <nil>
    ConfigMapName:      my-neo4j-release-user-config
    ConfigMapOptional:  <nil>
    ConfigMapName:      my-neo4j-release-k8s-config
    ConfigMapOptional:  <nil>
  neo4j-server-logs:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      my-neo4j-release-server-logs-config
    Optional:  false
  neo4j-user-logs:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      my-neo4j-release-user-logs-config
    Optional:  false
  kube-api-access-f8l2b:
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  3607
    ConfigMapName:           kube-root-ca.crt
    ConfigMapOptional:       <nil>
    DownwardAPI:             true
QoS Class:                   Guaranteed
Node-Selectors:              <none>
Tolerations:                 node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                             node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
  Type     Reason     Age                    From               Message
  ----     ------     ----                   ----               -------
  Normal   Scheduled  4m11s                  default-scheduler  Successfully assigned neo4j/my-neo4j-release-0 to demo-worker2
  Normal   Pulled     3m12s (x2 over 4m9s)   kubelet            Container image "neo4j:5.2.0" already present on machine
  Normal   Created    3m12s (x2 over 4m9s)   kubelet            Created container neo4j
  Normal   Started    3m12s (x2 over 4m9s)   kubelet            Started container neo4j
  Warning  Unhealthy  2m34s (x19 over 4m4s)  kubelet            Startup probe failed: dial tcp 10.244.3.11:7687: connect: connection refused

I followed the docs here: https://neo4j.com/docs/operations-manual/current/kubernetes/quickstart-standalone/

Values.yaml

neo4j:
  name: my-standalone
  resources:
    cpu: "0.5"
    memory: "2Gi"

  
  password: "password"

volumes:
  data:
    mode: defaultStorageClass
    defaultStorageClass:
      requests:
        storage: 2Gi