nutanix / helm

Nutanix Helm Charts repository
https://nutanix.github.io/helm/
MIT License
18 stars 31 forks source link

Request support for RKE #11

Closed rdcarrera closed 4 years ago

rdcarrera commented 4 years ago

Hi everyone!

I was fighting to deploy the nutanix csi in RKE, and after doing a lot of modification in my RKE environment:

The last thing was modified by hand some params of the csi-node-ntnx-plugin's daemonset,

....
    env:
       - name: DRIVER_REG_SOCK_PATH
          value: /opt/rke/var/lib/kubelet/plugins/com.nutanix.csi/csi.sock
....
    volumes:
      - hostPath:
          path: /opt/rke/var/lib/kubelet/plugins_registry/
          type: Directory
        name: registration-dir
      - hostPath:
          path: /opt/rke/var/lib/kubelet/plugins/com.nutanix.csi/
          type: DirectoryOrCreate
        name: plugin-dir
      - hostPath:
          path: /opt/rke/var/lib/kubelet/
          type: Directory
        name: pods-mount-dir
....

So, my request is the possibility to add a checkbox to automatized this modifications

P.S: I still using ubuntu as my console, I need to create the binding of:

      - hostPath:
          path: /lib/x86_64-linux-gnu/libisns-nocrypto.so.0
          type: File
        name: libisns

Thanks to sike from rancher forums

tuxtof commented 4 years ago

Hi Ruben,

it is not a RKE problem, but it is due to RancherOS

We test RKE with CentOS and the CSI driver and all works perfectly

maybe we will add it in the future but there is too many OS to track each with different installation schema

but you are welcome to push a PR on the original driver https://github.com/nutanix/csi-plugin

actually it was tested with CentOS 7 , Ubuntu 18.04

Best Regards

mscbpi commented 3 years ago

Ubuntu 20.04 I have the same issue saying it does not find /lib/modules...

mscbpi commented 3 years ago
   kubelet:
    extra_binds:
    - "/lib/modules:/lib/modules"

solves the issue.