feat: Add doc

This commit is contained in:
Kevin Huang 2022-10-10 11:29:12 +02:00
parent 09d876edad
commit e7ff436f5d
No known key found for this signature in database
GPG key ID: 39C78E8429C3F700
2 changed files with 3 additions and 0 deletions

View file

@ -93,6 +93,8 @@ kubectl exec -it nginx -- df -h | grep /var/lib/www/html
It is not necessary to enable OpenStack as a cloud provider for Cinder CSI Driver to work. It is not necessary to enable OpenStack as a cloud provider for Cinder CSI Driver to work.
Though, you can run both the in-tree openstack cloud provider and the Cinder CSI Driver at the same time. The storage class provisioners associated to each one of them are differently named. Though, you can run both the in-tree openstack cloud provider and the Cinder CSI Driver at the same time. The storage class provisioners associated to each one of them are differently named.
When using the in-tree OpenStack cloud provider with an external CA certificate, Cinder will not use the external CA certificate set by base64 encoding the cacert file and storing it in the variable `openstack_cacert`, it will use the `OS_CACERT = <path_to_external_cacert>` in your openrc.
## Cinder v2 support ## Cinder v2 support
For the moment, only Cinder v3 is supported by the CSI Driver. For the moment, only Cinder v3 is supported by the CSI Driver.

View file

@ -109,6 +109,7 @@ The new cloud provider is configured to have Octavia by default in Kubespray.
``` ```
- Run `source path/to/your/openstack-rc` to read your OpenStack credentials like `OS_AUTH_URL`, `OS_USERNAME`, `OS_PASSWORD`, etc. Those variables are used for accessing OpenStack from the external cloud provider. - Run `source path/to/your/openstack-rc` to read your OpenStack credentials like `OS_AUTH_URL`, `OS_USERNAME`, `OS_PASSWORD`, etc. Those variables are used for accessing OpenStack from the external cloud provider.
- If you are using an external OpenStack CA certificate, you will need to set `OS_CACERT = <path_to_external_cacert>` in your openrc.
- Run the `cluster.yml` playbook - Run the `cluster.yml` playbook
## Additional step needed when using calico or kube-router ## Additional step needed when using calico or kube-router