Hi,
I successfully created the kubernetes cluster and I used it for a while.
Now I'm trying to use some storage, but I'm facing some problems. I tried 2 ways:
I used a storage class, but the PersistentVolumeClaim referring the StorageClass keeps Pending forever.
I tried creating a PersistentDisk on GCE and attaching it in the Deployment.
In the second case, looking at the pod events I can see these:
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 97s default-scheduler Successfully assigned default/nfs-server-65c4b59c54-h4z4d to worker-1
Warning FailedAttachVolume 47s attachdetach-controller AttachVolume.NewAttacher failed for volume "nfs-pvc" : failed to get GCE GCECloudProvider with error <nil>
What could it be? It seems to me that the cluster cannot create PersistentVolumes or refer to GCE Persistent disks...
Hi, I successfully created the kubernetes cluster and I used it for a while. Now I'm trying to use some storage, but I'm facing some problems. I tried 2 ways:
PersistentVolumeClaim
referring theStorageClass
keepsPending
forever.PersistentDisk
on GCE and attaching it in theDeployment
.In the second case, looking at the pod events I can see these:
What could it be? It seems to me that the cluster cannot create
PersistentVolumes
or refer to GCE Persistent disks...