mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-02 10:08:13 -03:30
use external_openstack_lbaas_use_octavia for template openstack-cloud… (#7298)
* use external_openstack_lbaas_use_octavia for template openstack-cloud-config * Delete external_openstack_lbaas_use_octavia from default values. Added description and default values of variables to docs * markdown fix * make this simple * set external_openstack_lbaas_use_octavia in default values * duplicated variable in doc
This commit is contained in:
committed by
GitHub
parent
2ea5793782
commit
a4cc416511
@@ -125,10 +125,29 @@ The new cloud provider is configured to have Octavia by default in Kubespray.
|
||||
```
|
||||
|
||||
- You can override the default OpenStack metadata configuration (see [#6338](https://github.com/kubernetes-sigs/kubespray/issues/6338) for explanation):
|
||||
|
||||
|
||||
```yaml
|
||||
external_openstack_metadata_search_order: "configDrive,metadataService"
|
||||
```
|
||||
|
||||
- Available variables for configuring lbaas:
|
||||
|
||||
```yaml
|
||||
external_openstack_lbaas_create_monitor: false
|
||||
external_openstack_lbaas_monitor_delay: "1m"
|
||||
external_openstack_lbaas_monitor_timeout: "30s"
|
||||
external_openstack_lbaas_monitor_max_retries: "3"
|
||||
external_openstack_lbaas_provider: octavia
|
||||
external_openstack_lbaas_use_octavia: false
|
||||
external_openstack_lbaas_network_id: "Neutron network ID to create LBaaS VIP"
|
||||
external_openstack_lbaas_subnet_id: "Neutron subnet ID to create LBaaS VIP"
|
||||
external_openstack_lbaas_floating_network_id: "Neutron network ID to get floating IP from"
|
||||
external_openstack_lbaas_floating_subnet_id: "Neutron subnet ID to get floating IP from"
|
||||
external_openstack_lbaas_method: "ROUND_ROBIN"
|
||||
external_openstack_lbaas_manage_security_groups: false
|
||||
external_openstack_lbaas_internal_lb: false
|
||||
|
||||
```
|
||||
|
||||
- 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 the `cluster.yml` playbook
|
||||
|
||||
Reference in New Issue
Block a user