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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
4 additions and
4 deletions
docs/vsphere-csi.md
docs/vsphere.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):
@ -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"