<p>I have created a new cluster in GCE and added the following PVC to it:</p>
<pre><code>apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: pvc-logis
spec:
  accessModes:
    - ReadWriteOnce 
  volumeName: logis-data
  resources:
    requests:
      storage: 30Gi
</code></pre>
<p>But it never actually provisions the PV.  It just shows status as Pending with no events:</p>
<p>Here is the PVC</p>
<pre><code>apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: pvc-logis
spec:
  accessModes:
    - ReadWriteOnce 
  volumeName: logis-data
  resources:
    requests:
      storage: 30Gi
</code></pre>
<p>And the describe:</p>
<pre><code>Name:          pvc-logis
Namespace:     default
StorageClass:  standard-rwo
Status:        Pending
Volume:        logis-data
Labels:        &lt;none&gt;
Annotations:   &lt;none&gt;
Finalizers:    [kubernetes.io/pvc-protection]
Capacity:      0
Access Modes:
VolumeMode:    Filesystem
Used By:       &lt;none&gt;
Events:        &lt;none&gt;
</code></pre>
<p>When I try to run this deployment:</p>
<pre><code>apiVersion: batch/v1
kind: CronJob
metadata:
  name: downloader-cron
spec:
  schedule:  &quot;0 1 * * *&quot;
  jobTemplate:
    spec:
      template:
        spec:
          containers:
          - name: downloader
            image: us-west1-docker.pkg.dev/spry-gateway-357903/logis-docker-repository/downloader
            volumeMounts:
            - name: &quot;logis-data-dir&quot;
              mountPath: &quot;/data&quot;
          volumes:
          - name: &quot;logis-data-dir&quot;
            persistentVolumeClaim:
              claimName: &quot;pvc-logis&quot;
              readOnly: false
          restartPolicy: OnFailure
</code></pre>
<p>I see this error:</p>
<pre><code>The Pod’s Persistent Volume Claims are not bound to a volume. This error might happen if your Persistent Volume is not provisioned.
</code></pre>
<p>I'm basically trying to do a basic PVC setup following the documentation at <a href="https://cloud.google.com/kubernetes-engine/docs/concepts/persistent-volumes" rel="nofollow noreferrer">Persistent volumes and dynamic provisioning</a> but I think I might be missing something.</p>

Logis Strategos
<p>Remove</p>
<blockquote>
<p>volumeName: logis-data</p>
</blockquote>
<p>and try again</p>
<pre><code>kubectl get pv
kubectl get pvc
</code></pre>
