Represents a load-balancing cluster (a named group of {@link Node}s). Provides status management (UP/DOWN/TAKEOUT), node lookup, and simple session tracking.
Copy balancer : name : DemoBalancer priorityStrategy : { } clusters : - name : PROD nodes : - host : node1.predic8.com port : 8080 - host : node2.predic8.com port : 8090
balancer:
name: DemoBalancer
priorityStrategy: {}
clusters:
- name: PROD
nodes:
- host: node1.predic8.com
port: 8080
- host: node2.predic8.com
port: 8090
Syntax Copy cluster : name : <string> nodes : - <node>
cluster:
name: <string>
nodes:
- <node>
Attributes Name Required Default Description Examples name false Default Sets the name of the cluster. -
Child Structure Element Cardinality Description node 0..* Specifies the child nodes of this cluster.
Can be used in