cluster

Version

A named group of nodes within a balancer that share session state. Sticky sessions are tracked at the cluster level, so a session stays on its node as long as that node is up. Each node carries a status of UP, DOWN, or TAKEOUT; only UP nodes receive traffic.

Example Configuration

balancer:
name: DemoBalancer
clusters:
- name: PROD
nodes:
- host: node1.predic8.com
port: 8080
- host: node2.predic8.com
port: 8090
balancer:
   name: DemoBalancer
   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
namefalseDefaultName of the cluster, used to address it from the administration interface and the lbclient.PROD

Child Structure

ElementCardinalityDescription
node0..*The backend nodes that make up this cluster.

Can be used in