Skip to content

Instantly share code, notes, and snippets.

@guesslin
Created March 28, 2019 02:47
Show Gist options
  • Save guesslin/0309a6c40c5d71b43901c833c888895c to your computer and use it in GitHub Desktop.
Save guesslin/0309a6c40c5d71b43901c833c888895c to your computer and use it in GitHub Desktop.
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
name: some_microservice
spec:
host: some_microservice_host
trafficPolicy:
connectionPool:
tcp:
maxConnections: 10
http:
http1MaxPendingRequests: 20
http2MaxRequests: 20
maxRequestsPerConnection: 3
outlierDetection:
consecutiveErrors: 2
interval: 2s
baseEjectionTime: 30s
maxEjectionPercent: 100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment