You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Rancher Desktop 1.6.2 and Kuebernetes version v1.24.7 and I'm trying to install local-path-provisioner 0.0.23 as instructed per README.md but I'm getting the following error:
PS C:\Work> kubectl create -f local-path-storage.yaml
namespace/local-path-storage created
serviceaccount/local-path-provisioner-service-account created
deployment.apps/local-path-provisioner created
configmap/local-path-config created
Error from server (AlreadyExists): error when creating ".\\local-path-storage.old.yaml": clusterroles.rbac.authorization.k8s.io "local-path-provisioner-role" already exists
Error from server (AlreadyExists): error when creating ".\\local-path-storage.old.yaml": clusterrolebindings.rbac.authorization.k8s.io "local-path-provisioner-bind" already exists
Error from server (AlreadyExists): error when creating ".\\local-path-storage.old.yaml": storageclasses.storage.k8s.io "local-path" already exist
It turns out, Rancher Desktop by default already deploys local-path in namespace kube-system (version 0.0.21):
PS C:\Work> kubectl get deployments -A
NAMESPACE NAME READY UP-TO-DATE AVAILABLE AGE
kube-system coredns 1/11125m
kube-system traefik 1/11125m
kube-system local-path-provisioner 1/11125m
kube-system metrics-server 1/11125m
local-path-storage local-path-provisioner 0/110 5m31s
Although it deploys an outdated version where I cannot configure the Config as it is predeployed. I'm using the newly added RWX feature, which is only available in version 0.0.22 and upwards and it additionally requires changing local-path-config (adding sharedFileSystemPath to config.json).
I tried simply applying the config and changing the namespace to kube-system, and indeed it does update it and work fine:
However, each time rancher is restarted the old version (0.0.21) with the default config (without sharedFileSystemPath, so RWX doesn't work) is deployed again and I need to reapply it all over again. How is this intended to be configured with Rancher Desktop and is there any way to change the version? Thanks in advance.
The text was updated successfully, but these errors were encountered:
I'm using Rancher Desktop 1.6.2 and Kuebernetes version v1.24.7 and I'm trying to install local-path-provisioner 0.0.23 as instructed per README.md but I'm getting the following error:
It turns out, Rancher Desktop by default already deploys
local-path
in namespacekube-system
(version 0.0.21):Although it deploys an outdated version where I cannot configure the Config as it is predeployed. I'm using the newly added RWX feature, which is only available in version 0.0.22 and upwards and it additionally requires changing
local-path-config
(adding sharedFileSystemPath to config.json).I tried simply applying the config and changing the namespace to kube-system, and indeed it does update it and work fine:
However, each time rancher is restarted the old version (0.0.21) with the default config (without sharedFileSystemPath, so RWX doesn't work) is deployed again and I need to reapply it all over again. How is this intended to be configured with Rancher Desktop and is there any way to change the version? Thanks in advance.
The text was updated successfully, but these errors were encountered: