Error while mounting PVC on kubernetes deployments
I am trying to add pvc to my pod in kubernetes cluster, I have successfully done the same deployment on minikube, but on DO I have a strange issue
AttachVolume.Attach failed for volume “pvc-2224257d-f594-11e8-bdc3-927381ef6b9b” : rpc error: code = Unknown desc = POST https://api.digitalocean.com/v2/volumes/231edd7c-f594-11e8-ac1f-0a58ac14d102/actions: 403 There is currently a lock on the account, please log in to the control panel and contact support.
Furthermore, according to kubernetes dashboard - pvc is created, however it can not be mounted into the pod on deployment step .
Have anyone ever got the same same issue ?
I guess I should connect storage from DO into my deployment but I have not found how it should be done
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×