xds/dubbo-go-istio/pixiu/conf.yaml (43 lines of code) (raw):

# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. # #--- node: id: "test-id" cluster: "pixiu" dynamic_resources: cds_config: cluster_name: ["xds-server"] api_type: "ISTIO" refresh_delay: "5s" request_timeout: "10s" grpc_services: - timeout: "5s" static_resources: clusters: - name: "xds-server" type: "Static" endpoints: - socket_address: address: "istiod.istio-system.svc.cluster.local" port: 15010 listeners: - name: "net/http" protocol_type: "HTTP" address: socket_address: address: "0.0.0.0" port: 8883 filter_chains: filters: - name: dgp.filter.httpconnectionmanager config: route_config: routes: - match: prefix: "/UserService" route: cluster: "dubbo-go-app" http_filters: - name: dgp.filter.http.directdubboproxy config: shutdown_config: timeout: "5s" step_timeout: "2s" reject_policy: "immediacy"