From ceee3ec48517f8f8368d41c0e8760fd6b3fca587 Mon Sep 17 00:00:00 2001 From: JJGadgets Date: Fri, 29 Dec 2023 22:52:44 +0800 Subject: [PATCH] fix(volsync/template): use block sc for cache for some reason democratic-csi local-hostpath is stuck on pending? --- kube/deploy/core/storage/volsync/template/rdst.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kube/deploy/core/storage/volsync/template/rdst.yaml b/kube/deploy/core/storage/volsync/template/rdst.yaml index 99bea46b..e7ccad75 100644 --- a/kube/deploy/core/storage/volsync/template/rdst.yaml +++ b/kube/deploy/core/storage/volsync/template/rdst.yaml @@ -11,7 +11,7 @@ spec: copyMethod: "Snapshot" volumeSnapshotClassName: "${SNAP:=block}" storageClassName: "${SC:=block}" - cacheStorageClassName: "${SC:=local}" + cacheStorageClassName: "${SC:=block}" cacheAccessModes: ["ReadWriteOnce"] capacity: "${SIZE:=20Gi}" accessModes: ["${ACCESSMODE:=ReadWriteOnce}"]