anebi
April 7, 2019, 2:58pm
1
Hello,
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:
–feature-gates=CSINodeInfo=true,CSIDriverRegistry=true
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
Thank you in advance!
Best regards,
Ali
anebi
April 8, 2019, 3:48pm
3
Thanks a lot
I am going to check the page and continue with tests
Regards,
Ali Nebi
anebi
April 10, 2019, 9:53am
4
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:
services:
etcd:
snapshot: true
creation: 6h
retention: 24h
kube-api:
extra_args:
feature-gates: "CSINodeInfo=true,CSIDriverRegistry=true"
kubelet:
extra_args:
feature-gates: "CSINodeInfo=true,CSIDriverRegistry=true"
I hope that this will be useful for someone else too.
Thanks again and regards,
Ali Nebi
2 Likes
Thank you for providing your solution!
I edited my Cluster via the Rancher UI “Edit as YAML” which worked great for me.