All Downloads are FREE. Search and download functionalities are using the official Maven repository.

envoy.bad_config.yaml Maven / Gradle / Ivy

There is a newer version: 0.22.1
Show newest version
admin:
  access_log_path: /dev/null
  address:
    socket_address: { address: 0.0.0.0, port_value: 10000 }
dynamic_resources:
  lds_config:
    resource_api_version: V3
    ads: {}
  cds_config:
    resource_api_version: V3
    ads: {}
  ads_config:
    transport_api_version: V3
    api_type: GRPC
    grpc_services:
      envoy_grpc:
        cluster_name: envoy-control-xds
node:
  cluster: test-cluster
  id: test-id
  metadata:
    ads: true
    proxy_settings:
      incoming:
        endpoints:
          - path: "/endpoint"
            ## this is not a valid method
            methods: [NOT_A_VALID_METHOD]
            clients: ["authorizedClient"]
      outgoing:
        dependencies:
          - service: "service-1"

static_resources:
  clusters:
  - connect_timeout: 1s
    load_assignment:
      cluster_name: envoy-control-xds
      endpoints:
        - lb_endpoints:
            - endpoint:
                address:
                  socket_address:
                    address: HOST_IP
                    port_value: HOST_PORT
            - endpoint:
                address:
                  socket_address:
                    address: HOST_IP
                    port_value: HOST2_PORT
    http2_protocol_options: {}
    name: envoy-control-xds
  - name: local_service
    type: STATIC
    load_assignment:
      cluster_name: local_service
      endpoints:
        - lb_endpoints:
            - endpoint:
                address:
                  socket_address:
                    address: LOCAL_SERVICE_IP
                    port_value: 5678
    connect_timeout: 1s
  - name: this_admin
    type: STATIC
    load_assignment:
      cluster_name: this_admin
      endpoints:
        - lb_endpoints:
            - endpoint:
                address:
                  socket_address:
                    address: 127.0.0.1
                    port_value: 10000
    connect_timeout:
      seconds: 1
  listeners:
  - name: default_listener
    address:
      socket_address:
        address: 0.0.0.0
        port_value: 5000
    filter_chains:
      filters:
      - name: envoy.http_connection_manager
        typed_config:
          "@type": type.googleapis.com/envoy.config.filter.network.http_connection_manager.v2.HttpConnectionManager
          stat_prefix: egress_http
          rds:
            route_config_name: default_routes
            config_source:
              ads: {}
          http_filters:
          - name: envoy.filters.http.router
            typed_config:
              "@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
  - name: ingress_listener
    address:
      socket_address:
        address: 0.0.0.0
        port_value: 5001
    filter_chains:
      - filters:
          - name: envoy.http_connection_manager
            typed_config:
              "@type": type.googleapis.com/envoy.config.filter.network.http_connection_manager.v2.HttpConnectionManager
              stat_prefix: ingress_http
              rds:
                route_config_name: ingress_secured_routes
                config_source:
                  ads: {}
              http_filters:
                - name: envoy.filters.http.router
                  typed_config:
                    "@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router




© 2015 - 2024 Weber Informatics LLC | Privacy Policy