kubernetes 1.7 - dynamic volume plugin openstack

7/28/2017

I do not manage to make cinder volume plugin work. I use kubeadm 1.7.

As the documentation is missing, and all the questions concerning dynamic volume provisioning stay unanswered, I was wondering if someone has already succeeded in using it ?

I have modified each kubelet with --cloud-provider=openstack and --cloud-config/etc/cloud.conf. I have installed cinder and nova on each node. Do I have to do something else ?

Thanks for your help

-- matth3o
kubeadm
kubernetes
openstack
openstack-cinder

1 Answer

8/30/2017

maybe you already fixed your problem.

You need to add the --cloud-provider and --cloud-config flags to all k8s components (controller-manager, kubelets & apiserver). The controller-manager is the component that attach/detach cinder volumes to your pods. I hope this helps.

-- gogene
Source: StackOverflow