istio.io/istio@v0.0.0-20240520182934-d79c90f27776/tests/testdata/mcp_bootstrap_tmpl.json (about)

     1  {
     2    "node": {
     3      "id": "{{ .EnvoyConfigOpt.NodeID }}",
     4      "cluster": "mycluster"
     5    },
     6    "admin": {
     7      "access_log_path": "/dev/stdout",
     8      "address": {
     9        "socket_address": {
    10          "address": "0.0.0.0",
    11          "port_value": {{.Ports.AdminPort}}
    12        }
    13      }
    14    },
    15    "static_resources": {
    16      "listeners": [],
    17      "clusters": [
    18        {
    19          "name": "xds-grpc",
    20          "type": "STRICT_DNS",
    21          "connect_timeout": {
    22            "seconds": 5,
    23            "nanos": 0
    24          },
    25          "lb_policy": "ROUND_ROBIN",
    26          "hosts": [
    27            {
    28              "socket_address": {
    29                "address": "127.0.0.1",
    30                "port_value": {{.Ports.PilotGrpcPort}}
    31              }
    32            }
    33          ],
    34          "http2_protocol_options": {}
    35        }
    36      ]
    37    },
    38    "dynamic_resources": {
    39      "lds_config": {
    40        "ads": {}
    41       },
    42      "cds_config": {
    43        "ads": {}
    44      },
    45      "ads_config": {
    46        "api_type": "GRPC",
    47        "grpc_services": {
    48          "envoy_grpc": {
    49            "cluster_name": "xds-grpc"
    50          }
    51        },
    52        "refresh_delay": {
    53          "seconds": 0,
    54          "nanos": 150000000
    55        }
    56      }
    57    }
    58  }
    59