<p>Almost two years later, we are experiencing the same issue as described in <a href="https://stackoverflow.com/questions/67175908/gke-fails-to-mount-volumes-to-deployments-pods-timed-out-waiting-for-the-condit">this SO post</a>.</p>
<p>Our workloads had been working without any disruption since 2018, and they suddenly stopped because we had to renew certificates. Then we've not been able to start the workloads again... The failure is caused by the fact that pods try to mount a persistence disk via NFS, and the
<code>nfs-server</code> pod (based on <code>gcr.io/google_containers/volume-nfs:0.8</code>) can't mount the persistent disk.</p>
<p>We have upgraded from 1.23 to 1.25.5-gke.2000 (experimenting with a few intermediary previous) and hence have also switched to <code>containerd</code>.</p>
<p>We have recreated everything multiple times with slight varioations, but no luck. Pods definitely cannot access any persistent disk.</p>
<p>We've checked basic things such as: the persistent disks and cluster are in the same zone as the GKE cluster, the service account used by the pods has the necessary permissions to access the disk, etc.</p>
<p>No logs are visible on, each pod, which is also strange since logging seems to be correctly configured.</p>
<p>Here is the <code>nfs-server.yaml</code>:</p>
<pre><code>apiVersion: apps/v1
kind: Deployment
metadata:
  creationTimestamp: null
  labels:
    role: nfs-server
  name: nfs-server
spec:
  replicas: 1
  selector:
    matchLabels:
      role: nfs-server
  strategy:
    rollingUpdate:
      maxSurge: 1
      maxUnavailable: 1
    type: RollingUpdate
  template:
    metadata:
      labels:
        role: nfs-server
    spec:
      containers:
      - image: gcr.io/google_containers/volume-nfs:0.8
        imagePullPolicy: IfNotPresent
        name: nfs-server
        ports:
        - containerPort: 2049
          name: nfs
          protocol: TCP
        - containerPort: 20048
          name: mountd
          protocol: TCP
        - containerPort: 111
          name: rpcbind
          protocol: TCP
        resources: {}
        securityContext:
          privileged: true
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
        volumeMounts:
        - mountPath: /exports
          name: webapp-disk
      dnsPolicy: ClusterFirst
      restartPolicy: Always
      schedulerName: default-scheduler
      securityContext: {}
      terminationGracePeriodSeconds: 30
      volumes:
      - gcePersistentDisk:
          fsType: ext4
          pdName: webapp-data-disk
        name: webapp-disk
status: {}

</code></pre>

Jim G
<p>OK, fixed. I had to enable the CI driver on our legacy cluster, <a href="https://cloud.google.com/kubernetes-engine/docs/how-to/persistent-volumes/gce-pd-csi-driver" rel="nofollow noreferrer">as described here</a>...</p>
