Update azure cloud config (#7208)
* Allow configureable vni and port for flannel overlay * additional options for azure cloud configpull/7218/head
parent
bba55faae8
commit
774ec49396
|
@ -42,6 +42,10 @@ The type of the vm. Supported values are `standard` or `vmss`. If vm is type of
|
||||||
|
|
||||||
The name of the virtual network your instances are in, can be retrieved via `az network vnet list`
|
The name of the virtual network your instances are in, can be retrieved via `az network vnet list`
|
||||||
|
|
||||||
|
### azure\_vnet\_resource\_group
|
||||||
|
|
||||||
|
The name of the resource group that contains the vnet.
|
||||||
|
|
||||||
### azure\_subnet\_name
|
### azure\_subnet\_name
|
||||||
|
|
||||||
The name of the subnet your instances are in, can be retrieved via `az network vnet subnet list --resource-group RESOURCE_GROUP --vnet-name VNET_NAME`
|
The name of the subnet your instances are in, can be retrieved via `az network vnet subnet list --resource-group RESOURCE_GROUP --vnet-name VNET_NAME`
|
||||||
|
@ -50,6 +54,18 @@ The name of the subnet your instances are in, can be retrieved via `az network v
|
||||||
|
|
||||||
The name of the network security group your instances are in, can be retrieved via `az network nsg list`
|
The name of the network security group your instances are in, can be retrieved via `az network nsg list`
|
||||||
|
|
||||||
|
### azure\_security\_group\_resource\_group
|
||||||
|
|
||||||
|
The name of the resource group that contains the network security group. Defaults to `azure_vnet_resource_group`
|
||||||
|
|
||||||
|
### azure\_route\_table\_name
|
||||||
|
|
||||||
|
The name of the route table used with your instances.
|
||||||
|
|
||||||
|
### azure\_route\_table\_resource\_group
|
||||||
|
|
||||||
|
The name of the resource group that contains the route table. Defaults to `azure_vnet_resource_group`
|
||||||
|
|
||||||
### azure\_aad\_client\_id + azure\_aad\_client\_secret
|
### azure\_aad\_client\_id + azure\_aad\_client\_secret
|
||||||
|
|
||||||
These will have to be generated first:
|
These will have to be generated first:
|
||||||
|
|
|
@ -10,9 +10,11 @@
|
||||||
# azure_location:
|
# azure_location:
|
||||||
# azure_subnet_name:
|
# azure_subnet_name:
|
||||||
# azure_security_group_name:
|
# azure_security_group_name:
|
||||||
|
# azure_security_group_resource_group:
|
||||||
# azure_vnet_name:
|
# azure_vnet_name:
|
||||||
# azure_vnet_resource_group:
|
# azure_vnet_resource_group:
|
||||||
# azure_route_table_name:
|
# azure_route_table_name:
|
||||||
|
# azure_route_table_resource_group:
|
||||||
# supported values are 'standard' or 'vmss'
|
# supported values are 'standard' or 'vmss'
|
||||||
# azure_vmtype: standard
|
# azure_vmtype: standard
|
||||||
|
|
||||||
|
|
|
@ -8,17 +8,19 @@
|
||||||
"location": "{{ azure_location }}",
|
"location": "{{ azure_location }}",
|
||||||
"subnetName": "{{ azure_subnet_name }}",
|
"subnetName": "{{ azure_subnet_name }}",
|
||||||
"securityGroupName": "{{ azure_security_group_name }}",
|
"securityGroupName": "{{ azure_security_group_name }}",
|
||||||
|
"securityGroupResourceGroup": "{{ azure_security_group_resource_group | default(azure_vnet_resource_group) }}",
|
||||||
"vnetName": "{{ azure_vnet_name }}",
|
"vnetName": "{{ azure_vnet_name }}",
|
||||||
"vnetResourceGroup": "{{ azure_vnet_resource_group }}",
|
"vnetResourceGroup": "{{ azure_vnet_resource_group }}",
|
||||||
"routeTableName": "{{ azure_route_table_name }}",
|
"routeTableName": "{{ azure_route_table_name }}",
|
||||||
|
"routeTableResourceGroup": "{{ azure_route_table_resource_group | default(azure_vnet_resource_group) }}",
|
||||||
"vmType": "{{ azure_vmtype }}",
|
"vmType": "{{ azure_vmtype }}",
|
||||||
{% if azure_primary_availability_set_name is defined %}
|
{% if azure_primary_availability_set_name is defined %}
|
||||||
"primaryAvailabilitySetName": "{{ azure_primary_availability_set_name }}",
|
"primaryAvailabilitySetName": "{{ azure_primary_availability_set_name }}",
|
||||||
{%endif%}
|
{%endif%}
|
||||||
"useInstanceMetadata": {{azure_use_instance_metadata }},
|
"useInstanceMetadata": {{azure_use_instance_metadata | lower }},
|
||||||
{% if azure_loadbalancer_sku == "standard" %}
|
{% if azure_loadbalancer_sku == "standard" %}
|
||||||
"excludeMasterFromStandardLB": {{ azure_exclude_master_from_standard_lb }},
|
"excludeMasterFromStandardLB": {{ azure_exclude_master_from_standard_lb | lower }},
|
||||||
"disableOutboundSNAT": {{ azure_disable_outbound_snat }},
|
"disableOutboundSNAT": {{ azure_disable_outbound_snat | lower }},
|
||||||
{% endif%}
|
{% endif%}
|
||||||
"loadBalancerSku": "{{ azure_loadbalancer_sku }}"
|
"loadBalancerSku": "{{ azure_loadbalancer_sku }}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue