cluster

Version

Represents a load-balancing cluster (a named group of {@link Node}s). Provides status management (UP/DOWN/TAKEOUT), node lookup, and simple session tracking.
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

cluster:
name: <string>
nodes:
- <node>
cluster:
  name: <string>
  nodes:
    - <node>

Attributes

NameRequiredDefaultDescriptionExamples
namefalseDefaultSets the name of the cluster.-

Child Structure

ElementCardinalityDescription
node0..*Specifies the child nodes of this cluster.

Can be used in