<p>I am deploying a stateful set with Helm and the pods are complaining about volumes.</p>
<p>What is the proper way of doing this with AWS EBS? Considering the Helm templates.</p>
<pre><code>Warning  FailedScheduling  30s (x112 over 116m)  default-scheduler  0/9 nodes are available: 9 pod has unbound immediate PersistentVolumeClaims.
</code></pre>
<p>deployment.yaml</p>
<pre><code>volumeClaimTemplates:
  - metadata:
      name: {{ .Values.storage.name }}
      labels:
        app: {{ template &quot;etcd.name&quot; . }}
        chart: {{ .Chart.Name }}-{{ .Chart.Version }}
        release: {{ .Release.Name }}
        heritage: {{ .Release.Service }}
    spec:
      storageClassName: {{ .Values.storage.class | default .Values.global.storage.class }}
      accessModes:
        - {{ .Values.storage.accessMode }}
      resources:
        requests:
          storage: {{ .Values.storage.size }}
</code></pre>
<p>values.yaml</p>
<pre><code>storage:
  name: etcd-data
  mountPath: /somepath/etcd
  class: &quot;default&quot;
  size: 1Gi
  accessMode: ReadWriteOnce
</code></pre>

Morariu
<p>Try change the class name to the default name on EKS:</p>
<pre><code>...
spec:
  storageClassName: {{ .Values.storage.class | default &quot;gp2&quot; | quote }}
  accessModes:
  - ...


storage:
  ...
  class: &quot;gp2&quot;
  ...
</code></pre>
