Browse Source
dd external_openstack_lbaas_member_subnet_id variable to external-openstack-cloud-config.j2 (#12267)
pull/12126/merge
Romain Lalaut
2 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with
4 additions and
0 deletions
-
docs/cloud_controllers/openstack.md
-
roles/kubernetes-apps/external_cloud_controller/openstack/defaults/main.yml
-
roles/kubernetes-apps/external_cloud_controller/openstack/templates/external-openstack-cloud-config.j2
|
|
@ -73,6 +73,7 @@ The cloud provider is configured to have Octavia by default in Kubespray. |
|
|
|
external_openstack_lbaas_method: ROUND_ROBIN |
|
|
|
external_openstack_lbaas_provider: amphora |
|
|
|
external_openstack_lbaas_subnet_id: "Neutron subnet ID to create LBaaS VIP" |
|
|
|
external_openstack_lbaas_member_subnet_id: "Neutron subnet ID on which to create the members of the load balancer" |
|
|
|
external_openstack_lbaas_network_id: "Neutron network ID to create LBaaS VIP" |
|
|
|
external_openstack_lbaas_manage_security_groups: false |
|
|
|
external_openstack_lbaas_create_monitor: false |
|
|
|
|
|
@ -24,3 +24,5 @@ external_openstack_cloud_controller_extra_args: {} |
|
|
|
external_openstack_cloud_controller_image_tag: "v1.32.0" |
|
|
|
external_openstack_cloud_controller_bind_address: 127.0.0.1 |
|
|
|
external_openstack_cloud_controller_dns_policy: ClusterFirst |
|
|
|
|
|
|
|
external_openstack_lbaas_member_subnet_id: "{{ external_openstack_lbaas_subnet_id }}" |
|
|
@ -45,6 +45,7 @@ lb-provider={{ external_openstack_lbaas_provider }} |
|
|
|
{% endif %} |
|
|
|
{% if external_openstack_lbaas_subnet_id is defined %} |
|
|
|
subnet-id={{ external_openstack_lbaas_subnet_id }} |
|
|
|
member-subnet-id={{ external_openstack_lbaas_member_subnet_id }} |
|
|
|
{% endif %} |
|
|
|
{% if external_openstack_lbaas_network_id is defined %} |
|
|
|
network-id={{ external_openstack_lbaas_network_id }} |
|
|
|