From f52cd2f3e4dba3c7c511489fa51f539f73626561 Mon Sep 17 00:00:00 2001 From: Drew Sirenko <68304519+AndrewSirenko@users.noreply.github.com> Date: Fri, 22 Sep 2023 10:13:26 -0400 Subject: [PATCH] Update static-provisioning example README.md --- examples/kubernetes/static-provisioning/README.md | 4 ++-- examples/kubernetes/static-provisioning/manifests/pv.yaml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/examples/kubernetes/static-provisioning/README.md b/examples/kubernetes/static-provisioning/README.md index 8284691341..de871ca50a 100644 --- a/examples/kubernetes/static-provisioning/README.md +++ b/examples/kubernetes/static-provisioning/README.md @@ -10,7 +10,7 @@ This example shows you how to create and consume a `PersistentVolume` from an existing EBS volume with static provisioning. -1. Edit the `PersistentVolume` manifest in [pv.yaml](./manifests/pv.yaml) to include your `volumeHandle` EBS volume ID and `nodeSelectorTerms` zone value. +1. Edit the `PersistentVolume` manifest in [pv.yaml](./manifests/pv.yaml) to include your `volumeHandle` EBS volume ID and `nodeSelectorTerms` zone value. Confirm that the `metadata.name` field in [pv.yaml](./manifests/pv.yaml) matches `spec.volumeName` in [pv.yaml](./manifests/claim.yaml). ``` apiVersion: v1 @@ -68,4 +68,4 @@ This example shows you how to create and consume a `PersistentVolume` from an ex persistentvolumeclaim "ebs-claim" deleted pod "app" deleted persistentvolume "test-pv" deleted - ``` \ No newline at end of file + ``` diff --git a/examples/kubernetes/static-provisioning/manifests/pv.yaml b/examples/kubernetes/static-provisioning/manifests/pv.yaml index 7578fddd90..7deadb91ff 100644 --- a/examples/kubernetes/static-provisioning/manifests/pv.yaml +++ b/examples/kubernetes/static-provisioning/manifests/pv.yaml @@ -18,4 +18,5 @@ spec: - key: topology.ebs.csi.aws.com/zone operator: In values: - - us-east-2c \ No newline at end of file + - us-east-2c + storageClassName: "" # Empty string must be explicitly set otherwise default StorageClass will be set