<p>What is the default value for the allowVolumeExpansion?
I create my volumes through a statefulset from apiVersion: apps/v1 volumeClaimTemplates
In the case that the answer is false, how can I change it to true?</p>
<p>Potentially relevant info: the cluster running on GKE autopilot.</p>

Alex Skotner
<p>You can find out by looking into the StorageClass that your claim is using <code>kubectl describe StorageClass &lt;name&gt;</code></p>
<pre><code>volumeClaimTemplates:
- ...
  spec:
    storageClassName: &lt;name&gt;  # &lt;-- check using this name
</code></pre>
<p>Recent version of GKE the default is true. More about this field can be found <a href="https://cloud.google.com/kubernetes-engine/docs/how-to/persistent-volumes/volume-expansion" rel="nofollow noreferrer">here</a>.</p>
