Ambassador · Schema

LoadBalancer

Load balancing configuration for an upstream cluster

API DevelopmentGatewaysIngressKubernetesMock ServersMocksPlatformTesting

Properties

Name Type Description
policy string Load balancing algorithm
cookie object Cookie-based session affinity configuration (for ring_hash policy)
header string Header to use for hash-based load balancing
source_ip boolean Whether to use source IP for hash-based load balancing
View JSON Schema on GitHub

JSON Schema

ambassador-load-balancer-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "LoadBalancer",
  "type": "object",
  "description": "Load balancing configuration for an upstream cluster",
  "properties": {
    "policy": {
      "type": "string",
      "description": "Load balancing algorithm"
    },
    "cookie": {
      "type": "object",
      "description": "Cookie-based session affinity configuration (for ring_hash policy)"
    },
    "header": {
      "type": "string",
      "description": "Header to use for hash-based load balancing"
    },
    "source_ip": {
      "type": "boolean",
      "description": "Whether to use source IP for hash-based load balancing"
    }
  }
}