Init:0 pods was stuck in init status - cniackz/public GitHub Wiki

Possible Solution1:

https://veducate.co.uk/kubelet-unable-attach-volumes/

kubectl delete volumeattachment [volumeattachment_name]

Possible Solution2:

https://github.com/minio/operator/pull/1744 https://github.com/minio/operator/pull/1745

      ## Configure Pod's security context
      ## We recommend to skip the recursive permission change by using
      ## fsGroupChangePolicy as OnRootMismatch because it can be pretty
      ## expensive for larger volumes with lots of small files.
      securityContext:
        runAsUser: 1000
        runAsGroup: 1000
        fsGroup: 1000
        fsGroupChangePolicy: "OnRootMismatch"
        runAsNonRoot: true