Skip to content

Commit ba5a81e

Browse files
authored
Merge pull request #52 from stackhpc/magnum-ovn-lb-by-default
Magnum: default to OVN load balanacer provider
2 parents 5c50653 + f8c32fc commit ba5a81e

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

README.rst

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,17 @@ variables in `etc/openstack-config.yml`
9393
magnum_default_worker_flavor_name:
9494
# External network to use for load balancers etc.
9595
magnum_external_net_name:
96-
# Octavia provider (e.g. 'ovn')
97-
magnum_loadbalancer_provider:
9896
# Optional list of extra labels to add to all generated cluster templates
9997
magnum_template_extra_labels:
10098
101-
then run the provided playbook with
99+
The load balancer provider defaults to OVN. This can be changed to Amphora, but you
100+
should only do this if OVN load balancers are unavailable.
101+
102+
.. code-block:: yaml
103+
104+
magnum_loadbalancer_provider: amphora
105+
106+
Then run the provided playbook with
102107

103108
.. code-block:: bash
104109

ansible/templates/magnum-capi-templates.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
kube_dashboard_enabled: "true"
1616
keystone_auth_enabled: "false"
1717
capi_helm_chart_version: "{{ capi_helm_chart_release_data.json.tag_name }}"
18-
octavia_provider: {{ magnum_loadbalancer_provider }}
18+
octavia_provider: {{ magnum_loadbalancer_provider | default('ovn') }}
1919
{% if magnum_template_extra_labels is defined and magnum_template_extra_labels is not none %}
2020
{{ magnum_template_extra_labels | to_nice_yaml | indent(4) -}}
2121
{% endif %}

0 commit comments

Comments
 (0)