Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Implement Istio Circuit Breaker Outlier Detection to automatically identify the misbehaving pod and route traffic to healthy pods.
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
name: serviceB
spec:
host: serviceB
subsets:
- labels:
version: v1
name: serviceB-v1
trafficPolicy:
connectionPool:
http: {}
tcp: {}
loadBalancer:
simple: RANDOM
outlierDetection:
baseEjectionTime: 20s
consecutiveErrors: 3
interval: 10s
maxEjectionPercent: 100
- labels:
version: v2
name: serviceB-v2
trafficPolicy:
connectionPool:
http: {}
tcp: {}
loadBalancer:
simple: RANDOM
outlierDetection:
baseEjectionTime: 20s
consecutiveErrors: 3
interval: 10s
maxEjectionPercent: 100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment