Browse Source

docs: small vsphere docs fixes (#9796)

* docs: fix storageClassName in PersistentVolume

* docs: minor typo fix and formatting

* docs: fix proper STORAGECLASS in example prompt
pull/9828/head
Daniel VG 1 year ago
committed by GitHub
parent
commit
1dab5b5d9c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions
  1. 6
      docs/vsphere-csi.md
  2. 2
      docs/vsphere.md

6
docs/vsphere-csi.md

@ -55,7 +55,7 @@ spec:
resources: resources:
requests: requests:
storage: 1Gi storage: 1Gi
storageClassName: Space-Efficient
storageClassName: mongodb-sc
--- ---
apiVersion: v1 apiVersion: v1
@ -86,8 +86,8 @@ You should see the PVC provisioned and bound:
```ShellSession ```ShellSession
$ kubectl get pvc $ 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): And the volume mounted to the Nginx Pod (wait until the Pod is Running):

2
docs/vsphere.md

@ -21,7 +21,7 @@ After this step you should have:
### Kubespray configuration ### 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 ```yml
cloud_provider: "external" cloud_provider: "external"

Loading…
Cancel
Save