Hetzner Cloud CSI driver activation on Rancher 2.2



I am doing test with Rancher 2.2 and Hetzner Cloud so far deployment works fine, but I am trying to enable Hetzner Cloud Volumes support too using the CSI driver from here:

I read that I need to enable following features:


Can you tell me how I can do this (thru UI or CLI) for Rancher cluster thru itself so I can enable monitoring with persistent data and how do to it for each new cluster that I create?

I have Rancher 2.2 with HA mode (3 nodes).

A step by step guide is welcome :slightly_smiling_face:

Thank you in advance!

Best regards,


Modifying args/binds/env vars is described under https://rancher.com/docs/rancher/v2.x/en/faq/technical/#how-can-i-add-additional-arguments-binds-environment-variables-to-kubernetes-components-in-a-rancher-launched-kubernetes-cluster


Thanks a lot :slight_smile:

I am going to check the page and continue with tests :slight_smile:

Ali Nebi


I was able to activate the feature gates successfully thru API sending in json format:

  "services": {
    "kube-api": {
      "extra_args": {
        "feature-gates": "CSINodeInfo=true,CSIDriverRegistry=true"
    "kubelet": {
      "extra_args": {
        "feature-gates": "CSINodeInfo=true,CSIDriverRegistry=true"

and RKE solution:

    snapshot: true
    creation: 6h
    retention: 24h
      feature-gates: "CSINodeInfo=true,CSIDriverRegistry=true"
      feature-gates: "CSINodeInfo=true,CSIDriverRegistry=true"

I hope that this will be useful for someone else too.

Thanks again and regards,
Ali Nebi

1 Like