Light Dark Auto

Cluster

Cluster object

cluster

A cluster handles final routing of each request to its intended target. Each cluster can have 0 or more instances defined, which are simply the host:port pairs of the targets. Instances within a cluster can be statically configured when the object is created, or dynamically loaded through the service discovery mechanisms.

Features

  • Static or dynamic instances
  • Circuit breakers
  • Health Checks
  • Outlier Detection
  • Outgoing SSL configuration
    • Directly via SSL certs on disk
    • Through SPIFFE/SPIRE and Envoy SDS

Example Object

{
    "zone_key": "default-zone",
    "cluster_key": "catalog-service",
    "name": "service",
    "instances": [
        {
            "host": "localhost",
            "port": 8080
        }
    ],
    "circuit_breakers": {
      "max_connections": 500,
      "max_requests": 500
    },
    "outlier_detection": null,
    "health_checks": [],
    "secret": {
        "secret_key": "",
        "secret_name": "",
        "secret_validation_name": "",
        "subject_alt_name": "",
        "ecdh_curves": null,
        "set_current_client_cert_details": {
            "uri": false
        },
        "checksum": ""
    }
}

More Info