Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ShyamsundarR/a55b7c9b860ba43b36002d99cd010412 to your computer and use it in GitHub Desktop.
Save ShyamsundarR/a55b7c9b860ba43b36002d99cd010412 to your computer and use it in GitHub Desktop.
Helm values patch to run parallel CSI plugins
$ git diff deploy/rbd/helm/values.yaml
diff --git a/deploy/rbd/helm/values.yaml b/deploy/rbd/helm/values.yaml
index 9d14fa19..7622cab0 100644
--- a/deploy/rbd/helm/values.yaml
+++ b/deploy/rbd/helm/values.yaml
@@ -13,11 +13,11 @@ serviceAccounts:
create: true
name:
-socketDir: /var/lib/kubelet/plugins/rbd.csi.ceph.com
+socketDir: /var/lib/kubelet/plugins/canary.rbd.csi.ceph.com
socketFile: csi.sock
registrationDir: /var/lib/kubelet/plugins_registry
volumeDevicesDir: /var/lib/kubelet/plugins/kubernetes.io/csi/volumeDevices
-driverName: rbd.csi.ceph.com
+driverName: canary.rbd.csi.ceph.com
attacher:
name: attacher
@kfox1111
Copy link

Nice.

You can do that without patching the values.yaml in the chart by using this with the -f flag during the helm install:

socketDir: /var/lib/kubelet/plugins/canary.rbd.csi.ceph.com
driverName: canary.rbd.csi.ceph.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment