The azurerm_lb
resource enables Cluster to create customized load
balancers.
The following is a basic example:
resource:
azurerm_lb:
ucp:
domain: "cluster.example.com"
instances:
- managers
ports:
- 443:443
- 6443:6443
Setting | Type | Default | Description |
---|---|---|---|
domain |
String | None | Domain in which to create a DNS records for the load balancer |
instances |
List | None | List of instance group names to attach to the load balancer |
enable_public_ips |
Boolean | true |
Enable public IP addresses on the load balancer |
ports |
List | None | List of listening port[/protocol]:target port[/protocol] mappings to
define how the load balancer should route traffic. If not provided,
protocol defaults to tcp . |