Add OpenStack LBaaS support (#1506)
parent
1e07ee6cc4
commit
65a9772adf
|
@ -74,6 +74,14 @@ bin_dir: /usr/local/bin
|
||||||
#azure_vnet_name:
|
#azure_vnet_name:
|
||||||
#azure_route_table_name:
|
#azure_route_table_name:
|
||||||
|
|
||||||
|
## When OpenStack is used, if LBaaSv2 is available you can enable it with the following variables.
|
||||||
|
#openstack_lbaas_enabled: True
|
||||||
|
#openstack_lbaas_subnet_id: "Neutron subnet ID (not network ID) to create LBaaS VIP"
|
||||||
|
#openstack_lbaas_create_monitor: "yes"
|
||||||
|
#openstack_lbaas_monitor_delay: "1m"
|
||||||
|
#openstack_lbaas_monitor_timeout: "30s"
|
||||||
|
#openstack_lbaas_monitor_max_retries: "3"
|
||||||
|
|
||||||
## Set these proxy values in order to update docker daemon to use proxies
|
## Set these proxy values in order to update docker daemon to use proxies
|
||||||
#http_proxy: ""
|
#http_proxy: ""
|
||||||
#https_proxy: ""
|
#https_proxy: ""
|
||||||
|
|
|
@ -7,3 +7,12 @@ tenant-id={{ openstack_tenant_id }}
|
||||||
{% if openstack_domain_name is defined and openstack_domain_name != "" %}
|
{% if openstack_domain_name is defined and openstack_domain_name != "" %}
|
||||||
domain-name={{ openstack_domain_name }}
|
domain-name={{ openstack_domain_name }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if openstack_lbaas_enabled and openstack_lbaas_subnet_id %}
|
||||||
|
[LoadBalancer]
|
||||||
|
subnet-id={{ openstack_lbaas_subnet_id }}
|
||||||
|
create-monitor={{ openstack_lbaas_create_monitor }}
|
||||||
|
monitor-delay={{ openstack_lbaas_monitor_delay }}
|
||||||
|
monitor-timeout={{ openstack_lbaas_monitor_timeout }}
|
||||||
|
monitor-max-retries={{ openstack_lbaas_monitor_max_retries }}
|
||||||
|
{% endif %}
|
||||||
|
|
|
@ -115,6 +115,14 @@ k8s_image_pull_policy: IfNotPresent
|
||||||
efk_enabled: false
|
efk_enabled: false
|
||||||
enable_network_policy: false
|
enable_network_policy: false
|
||||||
|
|
||||||
|
## When OpenStack is used, if LBaaSv2 is available you can enable it with the following variables.
|
||||||
|
openstack_lbaas_enabled: false
|
||||||
|
openstack_lbaas_subnet_id: "Neutron subnet ID (not network ID) to create LBaaS VIP"
|
||||||
|
openstack_lbaas_create_monitor: "yes"
|
||||||
|
openstack_lbaas_monitor_delay: false
|
||||||
|
openstack_lbaas_monitor_timeout: false
|
||||||
|
openstack_lbaas_monitor_max_retries: false
|
||||||
|
|
||||||
## List of authorization modes that must be configured for
|
## List of authorization modes that must be configured for
|
||||||
## the k8s cluster. Only 'AlwaysAllow','AlwaysDeny', and
|
## the k8s cluster. Only 'AlwaysAllow','AlwaysDeny', and
|
||||||
## 'RBAC' modes are tested.
|
## 'RBAC' modes are tested.
|
||||||
|
|
Loading…
Reference in New Issue