Skip to content

Commit

Permalink
teste
Browse files Browse the repository at this point in the history
  • Loading branch information
msfidelis committed Jun 11, 2024
1 parent b90e1b9 commit 7015d93
Showing 1 changed file with 53 additions and 53 deletions.
106 changes: 53 additions & 53 deletions samples/cilium/bmr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,56 +99,56 @@ spec:
- fromEndpoints:
- matchLabels:
namespace: prometheus
---
apiVersion: cilium.io/v2
kind: CiliumClusterwideEnvoyConfig
metadata:
name: bmr-envoy-circuit-breaker
namespace: bmr
spec:
services:
- name: bmr-grpc
namespace: bmr
resources:
- "@type": type.googleapis.com/envoy.config.listener.v3.Listener
name: envoy-lb-listener
filter_chains:
- filters:
- name: envoy.filters.network.http_connection_manager
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
stat_prefix: envoy-lb-listener
rds:
route_config_name: lb_route
use_remote_address: true
skip_xff_append: true
http_filters:
- name: envoy.filters.http.router
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- "@type": type.googleapis.com/envoy.config.route.v3.RouteConfiguration
name: lb_route
virtual_hosts:
- name: "lb_route"
domains: [ "*" ]
routes:
- match:
prefix: "/"
route:
weighted_clusters:
clusters:
- name: "bmr/bmr-grpc"
weight: 100
- "@type": type.googleapis.com/envoy.config.cluster.v3.Cluster
name: "bmr/bmr-grpc"
connect_timeout: 10s
lb_policy: ROUND_ROBIN
type: EDS
circuit_breakers:
thresholds:
- priority: "DEFAULT"
max_requests: 20
max_pending_requests: 10
outlier_detection:
split_external_local_origin_errors: true
consecutive_local_origin_failure: 2
# ---
# apiVersion: cilium.io/v2
# kind: CiliumClusterwideEnvoyConfig
# metadata:
# name: bmr-envoy-circuit-breaker
# namespace: bmr
# spec:
# services:
# - name: bmr-grpc
# namespace: bmr
# resources:
# - "@type": type.googleapis.com/envoy.config.listener.v3.Listener
# name: envoy-lb-listener
# filter_chains:
# - filters:
# - name: envoy.filters.network.http_connection_manager
# typed_config:
# "@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
# stat_prefix: envoy-lb-listener
# rds:
# route_config_name: lb_route
# use_remote_address: true
# skip_xff_append: true
# http_filters:
# - name: envoy.filters.http.router
# typed_config:
# "@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
# - "@type": type.googleapis.com/envoy.config.route.v3.RouteConfiguration
# name: lb_route
# virtual_hosts:
# - name: "lb_route"
# domains: [ "*" ]
# routes:
# - match:
# prefix: "/"
# route:
# weighted_clusters:
# clusters:
# - name: "bmr/bmr-grpc"
# weight: 100
# - "@type": type.googleapis.com/envoy.config.cluster.v3.Cluster
# name: "bmr/bmr-grpc"
# connect_timeout: 10s
# lb_policy: ROUND_ROBIN
# type: EDS
# circuit_breakers:
# thresholds:
# - priority: "DEFAULT"
# max_requests: 20
# max_pending_requests: 10
# outlier_detection:
# split_external_local_origin_errors: true
# consecutive_local_origin_failure: 2

0 comments on commit 7015d93

Please sign in to comment.