Closed dongjiang1989 closed 11 months ago
The current implementation doesn't respect .Values.agent.kubelet_dir and doesn't work in case kubelet uses a non-default directory.
.Values.agent.kubelet_dir
uses /apps/data/kubelet instead of /var/lib/kubelet
/apps/data/kubelet
/var/lib/kubelet
E0914 11:29:09.031771 246315 nestedpendingoperations.go:301] Operation for "{volumeName:kubernetes.io/csi/local.csi.aliyun.com^local-b6daea4e-222a-42d9-9a1c-c998ea8452df podName: nodeName:}" failed. No retries permitted until 2023-09-14 11:31:11.031748089 +0800 CST m=+75524.201713195 (durationBeforeRetry 2m2s). Error: "MountVolume.SetUp failed for volume \"local-b6daea4e-222a-42d9-9a1c-c998ea8452df\" (UniqueName: \"kubernetes.io/csi/local.csi.aliyun.com^local-b6daea4e-222a-42d9-9a1c-c998ea8452df\") pod \"rabbitmq-server-0\" (UID: \"c09c52b8-22c3-48ea-9954-7da39aae39f6\") : applyFSGroup failed for vol local-b6daea4e-222a-42d9-9a1c-c998ea8452df: lstat /apps/data/kubelet/pods/c09c52b8-22c3-48ea-9954-7da39aae39f6/volumes/kubernetes.io~csi/local-b6daea4e-222a-42d9-9a1c-c998ea8452df/mount: no such file or directory"
/kind feature Add global imagePullPolicy configure
@peter-wangxu PTAL
The current implementation doesn't respect
.Values.agent.kubelet_dir
and doesn't work in case kubelet uses a non-default directory.uses
/apps/data/kubelet
instead of/var/lib/kubelet
logs
/kind feature Add global imagePullPolicy configure