'EKS pod not starting

All,

I created neo4j cluster with helm template. First I created with helm install commad and it worked fine. created pods with stateful sets by using default gp2 volume.

But when i use Kustomize to tweak helm template and install pods are not starting and giving me below error. Even though it is creating storageClass and volumeclaim.

warning on the pods "backoff: restarting" when i looked at the events , i see the error" Unable to attach or mount volumes: unmounted volumes=[datadir], unattached volumes=[kube-api-access-8mrwb init-script datadir plugins]: timed out waiting for the condition"

Below is my Kusomization.yaml file

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

helmCharts:
- name: neo4j-helm-master
  releaseName: ntd
  # Overriding values from charts/neo4j/values.yaml
  valuesInline:
          #name: neo4jcluster
    acceptLicenseAgreement: "yes"

Any help is appreciated.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source