Open barrymac opened 6 years ago
On the host the volume is not created consistent with the kubelet logs ls -l /var/lib/storageos/volumes/ total 0
Hi @barrymac, that is the result of running K8S without enabling MountPropagation.
Check out https://docs.storageos.com/docs/install/kubernetes/index point 3 of the prerequisites.
As a summarise:
--feature-gates MountPropagation=true
to the deployments kube-apiserver, usually found under /etc/kubernetes/manifests in the master node.KUBELET_EXTRA_ARGS=--feature-gates=MountPropagation=true
for every one of your nodes. For systemd, this is usually located in /etc/systemd/system/After that you need to apply the manifest in the master, kubectl apply -f /etc/kubernetes/manifests/kube-apiserver.manifest
and restart the kubelet systemd service on each of your machines.
Thought I'd try out storageos as it appears to fill a nice gap for me running k8s on a KVM cluster. I followed the dynamic provisioning guide
and got the following: