node

Version

Represents a backend node in a load-balancing Cluster.

Identity is host+port.

Syntax

<node host="string" port="integer" />
<node host="string" port="integer" />

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

NameRequiredDefaultDescriptionExamples
healthUrlfalse-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"/>
hosttrue-The node's host.server3
portfalse80The node's port.8080
priorityfalse10Node priority; lower values are preferred.2

Can be used in