This message was deleted.
# rke2
a
This message was deleted.
g
I am also attempting to figure out how to enable
feature gate
on RKE2. I have looked at https://rancher.com/docs/rancher/v2.6/en/cluster-admin/editing-clusters/rke2-config-reference/ which leads to https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet/
--feature-gates <A list of 'key=true/false' pairs>
...
(DEPRECATED: This parameter should be set via the config file specified by the Kubelet's
--config
flag. See kubelet-config-file for more information.)
I have tried a few ways to add, but all the ways I would add to rke do not seem to be there. I used to be able to add via API. Wanting to add to test out linstor-csi
You will need to enable the following feature gates on both the kube-apiserver and all kubelets for this plugin to be operational:
CSINodeInfo=true
,
CSIDriverRegistry=true,VolumeSnapshotDataSource=true
. Please ensure that your version of Kubernetes is recent enough to enable these gates.
Other Doc: https://linbit.com/blog/linstor-csi-plugin-for-kubernetes/ Any know how to enable feature flags on RKE2 though Rancher?
Opened issue, as it does not look like this is supported yet. At least I have not been able to find any reference in Rancher or RKE2 docs https://github.com/rancher/rke2/issues/3193
b
Yeah it was a similar problem for me with trying to install the
AWS EBS CSI Driver
. I found this issue https://github.com/rancher/rke2/issues/3145 in the end I tried without the feature gates and the driver worked anyways. If you are on a test cluster you can attempt to install the CSI plugin without enabling those feature gates.
g
Yeah that is what I did, I found that the flags are all GA anyway lol
240 Views