<p>I am doing testing which includes the <a href="https://github.com/bitnami/charts/tree/master/bitnami/redis-cluster" rel="nofollow noreferrer">Redis Cluster Bitnami Helm Chart</a>. However, some recent changes to the chart means that I can no longer set the <code>persistence</code> option to <code>false</code>. This is highly irritating, as now the cluster is stuck in <code>pending</code> status with the failure message &quot;0/5 nodes are available: 5 node(s) didn't find available persistent volumes to bind&quot;. I assume because it is attempting to fulfill some outstanding PVCs but cannot find a volume. Since this is just for testing and do not need to persist the data to disk, is there a way of disabling this or making a dummy volume? If not, what is the easiest way around this?</p>

Hegemon
<p>As Franxi mentioned in the comments above and provided the PR, there is no way doing a dummy volume. Closest solution for you is to use <a href="https://kubernetes.io/docs/concepts/storage/volumes/#emptydir" rel="nofollow noreferrer">emptyDir</a></p>
<p>Note this:</p>
<blockquote>
<p>Depending on your environment, emptyDir volumes are stored on whatever medium that backs the node such as disk or SSD, or network storage. However, if you set the emptyDir.medium field to &quot;Memory&quot;, Kubernetes mounts a tmpfs (RAM-backed filesystem) for you instead. While tmpfs is very fast, be aware that unlike disks, tmpfs is cleared on node reboot and any files you write count against your container's memory limit.</p>
</blockquote>
<p>Examples:</p>
<pre><code>apiVersion: v1
kind: Pod
metadata:
  name: test-pd
spec:
  containers:
  - image: k8s.gcr.io/test-webserver
    name: test-container
    volumeMounts:
    - mountPath: /cache
      name: cache-volume
  volumes:
  - name: cache-volume
    emptyDir: {}
</code></pre>
<p>Example with <code>emptyDir.medium</code> field:</p>
<pre><code>...
 volumes:
  - name: ram-disk
    emptyDir:
      medium: &quot;Memory&quot;
</code></pre>
<p>You can also to <a href="https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/" rel="nofollow noreferrer">determine the size limit</a>:</p>
<blockquote>
<p>Enable kubelets to determine the size limit for memory-backed volumes (mainly emptyDir volumes).</p>
</blockquote>
