adamant-kite-43734
02/02/2023, 9:49 AMlate-needle-80860
02/02/2023, 9:55 AMsymlinking
the kubelet
dir from var/lib/kubelet
to myDir
is that if I didn’t I would get CSINode … <http://driver.longhorn.io|driver.longhorn.io>
not found. As that driver would end up in /var/lib/kubelet
instead of the new kubelet root-dir I set via --kubelet-arg root-dir=…
late-needle-80860
02/02/2023, 9:56 AMkubeletRootDir
variable to the Longhorn Helm Chart on the CSI component.late-needle-80860
02/02/2023, 10:08 AM/var/lib/kubelet/plugins/kubernetes.io/csi/driver.longhorn.io/SOME_VOLUME/
the globalmount
dir have 1001
in the gid
section when e.g. viewing permission with ls -la
… and that’s NOT the case on the node whereon I’ve symlinked
the kubelet and containerd directorieslate-needle-80860
02/02/2023, 10:09 AMK3s
repo … trying in the Longhorn
channel here .. as Longhorn is the final thing not fully working after doing what I describe above.
Any help is highly appreciated.late-needle-80860
02/02/2023, 12:43 PM/var/lib/kubelet
late-needle-80860
02/02/2023, 12:43 PMkubeletRootDir
late-needle-80860
02/02/2023, 12:48 PM--kubelet-reigstration-path
parameter … However, if one changes the --kubelet-arg root-dir
parameter this is not reflected on the node-driver-registrar parameters ..late-needle-80860
02/02/2023, 2:07 PMlonghorn-driver-deployer
Deployment
… and that is reflected in the longhorn-csi-plugin
DaemonSet
workload … However, if one have a cluster with a cluster already running Longhorn and one want to change the kubelet
and conatinerd
data paths … then apparently it’s not enough to set the csi.kubeletRootDir
and then delete the longhorn-csi-plugin
DaemonSet
as it doesn’t come back…
I ended up having to uninstall Longhorn >> install it again >> the created longhorn-csi-plugin
DaemonSet
then reflected the csi.kubeletRootDir
setting.
---
For people wanting to change kubelet
and containerd
paths and are running Longhorn
is there a better way than uninstalling Longhorn as that have potentially a prolonged downtime effect.
---late-needle-80860
02/02/2023, 2:07 PMlonghorn-driver-deployer
Deployment
… and that is reflected in the longhorn-csi-plugin
DaemonSet
workload … However, if one have a cluster with a cluster already running Longhorn and one want to change the kubelet
and conatinerd
data paths … then apparently it’s not enough to set the csi.kubeletRootDir
and then delete the longhorn-csi-plugin
DaemonSet
as it doesn’t come back…
I ended up having to uninstall Longhorn >> install it again >> the created longhorn-csi-plugin
DaemonSet
then reflected the csi.kubeletRootDir
setting.
---
For people wanting to change kubelet
and containerd
paths and are running Longhorn
is there a better way than uninstalling Longhorn as that have potentially a prolonged downtime effect????
---
Thank you very much.late-needle-80860
02/03/2023, 11:25 AMlate-needle-80860
02/15/2023, 9:00 PMcsi.kubeletRootDir
value when Longhorn is deployed via the Helm chart?late-needle-80860
02/15/2023, 9:00 PMcsi.kubeletRootDir
value when Longhorn is deployed via the Helm chart?narrow-egg-98197
02/16/2023, 11:06 AMlate-needle-80860
02/17/2023, 7:41 AM