diff --git a/content/azure-cpi.md b/content/azure-cpi.md index 81765e08..80f7ac48 100644 --- a/content/azure-cpi.md +++ b/content/azure-cpi.md @@ -234,6 +234,47 @@ vm_extensions: backend_pool_name: ``` +Example of an application gateway (simple configuration): + +```yaml +vm_extensions: +- name: application-gateway-example-1 + cloud_properties: + application_gateway: +``` + +Example of an application gateway (complex configuration): + +```yaml +vm_extensions: +- name: application-gateway-example-2 + cloud_properties: + application_gateway: + name: + # resource_group_name is optional + resource_group_name: + # backend_pool_name is optional + backend_pool_name: +``` + +Example of multiple application gateways (4 backend address pools of 3 AGWs): + +```yaml +vm_extensions: +- name: application-gateway-example-3 + cloud_properties: + application_gateway: + - name: + # NOTE: the following AGW is in a different Resource Group (than the `resource_group_name` in the global CPI settings) + - name: + resource_group_name: + # NOTE: the following 2 attach the VMs to 2 separate backend address pools of the same AGW + - name: + backend_pool_name: + - name: + backend_pool_name: +``` + Example of an availability set: ```yaml @@ -258,6 +299,7 @@ instance_groups: release: default vm_extensions: - load-balancer-example-1 + - application-gateway-example-2 - availability-set ```