From 1dab5b5d9c3acc16f74d01ef896ea04bc564d0cd Mon Sep 17 00:00:00 2001 From: Daniel VG Date: Fri, 24 Feb 2023 09:43:34 +0100 Subject: [PATCH] docs: small vsphere docs fixes (#9796) * docs: fix storageClassName in PersistentVolume * docs: minor typo fix and formatting * docs: fix proper STORAGECLASS in example prompt --- docs/vsphere-csi.md | 6 +++--- docs/vsphere.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/vsphere-csi.md b/docs/vsphere-csi.md index b356d7e13..af58440ca 100644 --- a/docs/vsphere-csi.md +++ b/docs/vsphere-csi.md @@ -55,7 +55,7 @@ spec: resources: requests: storage: 1Gi - storageClassName: Space-Efficient + storageClassName: mongodb-sc --- apiVersion: v1 @@ -86,8 +86,8 @@ You should see the PVC provisioned and bound: ```ShellSession $ kubectl get pvc -NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE -csi-pvc-vsphere Bound pvc-dc7b1d21-ee41-45e1-98d9-e877cc1533ac 1Gi RWO Space-Efficient 10s +NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE +csi-pvc-vsphere Bound pvc-dc7b1d21-ee41-45e1-98d9-e877cc1533ac 1Gi RWO mongodb-sc 10s ``` And the volume mounted to the Nginx Pod (wait until the Pod is Running): diff --git a/docs/vsphere.md b/docs/vsphere.md index 6bbad39b6..a75a25d9a 100644 --- a/docs/vsphere.md +++ b/docs/vsphere.md @@ -21,7 +21,7 @@ After this step you should have: ### Kubespray configuration -First in `inventory/sample/group_vars/all/all.yml` you must set the cloud provider to `external` and external_cloud_provider to `external_cloud_provider`. +First in `inventory/sample/group_vars/all/all.yml` you must set the `cloud_provider` to `external` and `external_cloud_provider` to `vsphere`. ```yml cloud_provider: "external"