Changing the default storage provider? #3445
-
Environmental Info: Node(s) CPU architecture, OS, and Version: 5.8.0-1021-raspi #24-Ubuntu SMP PREEMPT Tue Apr 13 11:00:57 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux Cluster Configuration: 3 servers in HA Describe the bug: Local-path storage-class always reverts to being the default provisioner. Steps To Reproduce:
Expected behavior: Local-path should not be the default storage on reboot Actual behavior: Two local storage classes, the new storage class and the defualt shipped class. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
The source of truth seems to be k3s/manifests/local-storage.yaml Line 91 in 02a5bee Unfortunately, this component is not deployed as a helm chart. Otherwise I would point you to the documentation of A better option may be to install K3s using |
Beta Was this translation helpful? Give feedback.
-
Yes, |
Beta Was this translation helpful? Give feedback.
-
FYI, you can use |
Beta Was this translation helpful? Give feedback.
The source of truth seems to be
/var/lib/rancher/k3s/server/manifests/local-storage.yaml
(k3s/manifests/local-storage.yaml
Line 91 in 02a5bee
Unfortunately, this component is not deployed as a helm chart. Otherwise I would point you to the documentation of
HelmChartConfig
: https://rancher.com/docs/k3s/latest/en/helm/#customizing-packaged-components-with-helmchartconfigA better option may be to install K3s using
--disable local-storage
. You can then install the local-storage provider by using a Helm chart if you still need it: http…