From 1984b52e7a3c794179482fcd004810bbfc35c5af Mon Sep 17 00:00:00 2001 From: Remi Rampin Date: Mon, 8 May 2017 10:13:32 -0400 Subject: [PATCH] Change example PersistentVolumeClaim If a default storage class exists, it is going to create a new persistent volume to bind to that claim instead of using our example one, which will make the tutorial fail. In particular, this happens on minikube. Specifying an empty storageClassName will prevent the storage class to be used, and force our volume to be selected. --- docs/tasks/configure-pod-container/task-pv-claim.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/tasks/configure-pod-container/task-pv-claim.yaml b/docs/tasks/configure-pod-container/task-pv-claim.yaml index 197db917c8..3858b3149b 100644 --- a/docs/tasks/configure-pod-container/task-pv-claim.yaml +++ b/docs/tasks/configure-pod-container/task-pv-claim.yaml @@ -9,3 +9,4 @@ spec: resources: requests: storage: 3Gi + storageClassName: ""