From c2c0752ebe4ed46bbc261250d81d2f4ebacbb354 Mon Sep 17 00:00:00 2001 From: yaloo yang Date: Mon, 13 Apr 2020 21:51:47 +0800 Subject: [PATCH] Update test.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit storageClassName: nfs-dynamic-class-01和 roles/cluster-storage/defaults/main.yml中定义的 storage_class: "nfs-dynamic-class" 不一致 执行 kubectl apply -f test.yaml --- manifests/storage/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/storage/test.yaml b/manifests/storage/test.yaml index c1c361e..9f10a01 100644 --- a/manifests/storage/test.yaml +++ b/manifests/storage/test.yaml @@ -3,7 +3,7 @@ apiVersion: v1 metadata: name: test-claim spec: - storageClassName: nfs-dynamic-class-01 + storageClassName: nfs-dynamic-class accessModes: - ReadWriteMany resources: