[SOLVED] Rancher-agent kubelet extra_binds

Hi,

I’m running a Rancher deployed Kubernetes cluster on RancherOS using Rancher Agent.
Now I’m trying to add Ceph RBD. But for that to work I need kubelet to have extra_binds

services:
  kubelet:
    extra_binds:
      - "/lib/modules:/lib/modules"
      - "/etc/ceph:/etc/ceph"
      - "/usr/sbin/modprobe:/usr/sbin/modprobe"

Anyone knows how I can add these extra binds to a rancher-agent provisioned k8 cluster?

To answer my own question for future reference.
It was possible to edit existing cluster in Rancher:

  1. Top left corner in UI, select your cluster.
  2. In your cluster Dashboard press the vertical ... and Edit.
  3. Edit as YAML.
  4. Under
services: 
  kubelet: 

add following:

    extra_binds: 
      - "/lib/modules:/lib/modules"
      - "/usr/sbin/modprobe:/usr/sbin/modprobe"

i.e. you need to omit /etc/ceph cause it seems to already be mounted by some automagicness.

  1. Press save, and cluster will redeploy and after that you can use Ceph RBD.