Cluster.Identity is host+port.
Syntax
node:
host: <string> # required
healthUrl: <string>
port: <number>
priority: <number>node: host: <string> # required healthUrl: <string> port: <number> priority: <number>
Sample
<balancer>
<clusters>
<cluster name="Default">
<node host="node1.predic8.com" port="8080" />
</cluster>
</clusters>
</balancer><balancer> <clusters> <cluster name="Default"> <node host="node1.predic8.com" port="8080" /> </cluster> </clusters> </balancer>
Attributes
| Name | Required | Default | Description | Examples |
|---|---|---|---|---|
| healthUrl | false | - | Sets the node's health-check URL. If not set, a TCP check against the host and port is used. Only works when a balancerHealthMonitor is set. | <node host="localhost" port="8080" healthUrl="http://localhost:8080/health"/> |
| host | true | - | The node's host. | server3 |
| port | false | 80 | The node's port. | 8080 |
| priority | false | 10 | Node priority; lower values are preferred. | 2 |