billions-kite-9416
07/28/2022, 10:56 AMfeature gate
on my api server. After editing the config.yaml
file and restarting the rke2-server
process the api server never comes back up and there are 500 Internal Server Errors
from kube-proxy in the logs. Does anyone have any idea how to go about this?gentle-eye-36337
07/28/2022, 7:39 PMfeature 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'sI 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-csiflag. See kubelet-config-file for more information.)--config
You will need to enable the following feature gates on both the kube-apiserver and all kubelets for this plugin to be operational:Other Doc: https://linbit.com/blog/linstor-csi-plugin-for-kubernetes/ Any know how to enable feature flags on RKE2 though Rancher?,CSINodeInfo=true
. Please ensure that your version of Kubernetes is recent enough to enable these gates.CSIDriverRegistry=true,VolumeSnapshotDataSource=true
billions-kite-9416
07/28/2022, 7:57 PMAWS 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.gentle-eye-36337
07/28/2022, 9:00 PM