I’ve got a storageos deployed on rancher-kubernetes (rancher 2.0.0-beta3/kubernetes v1.10.0-rancher1).
After deploying an PersistenceVolumeClaim. I get an error similar to this one:
MountVolume.SetUp failed for volume "pvc-add90dd2-4474-11e8-a1f6-96000009935a" : stat /var/lib/storageos/volumes/52f21c44-9175-e018-b2c7-96c2a8a58560: no such file or directory
The volume is existing as such it’s related to kubelet being in a container.
I’ve found a possible solution to that in google-cache which was on the storageos site. It mentioned that I have to add --volume=/var/lib/storageos:/var/lib/storageos:rshared to the running kubelet. But I’ve got no idea how to manage it properly.
Can you give me a hint?