Skip to content

Instantly share code, notes, and snippets.

@sbehara1
Last active June 2, 2019 12:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sbehara1/b2893fa3b2f9b51114b20c100ad42b68 to your computer and use it in GitHub Desktop.
Save sbehara1/b2893fa3b2f9b51114b20c100ad42b68 to your computer and use it in GitHub Desktop.
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
name: serviceC
spec:
host: serviceC
subsets:
- name: serviceC-v1
labels:
version: v1
- name: serviceC-v2
labels:
version: v2
trafficPolicy:
connectionPool:
http:
http1MaxPendingRequests: 10
maxRequestsPerConnection: 1
tcp:
maxConnections: 1
outlierDetection:
baseEjectionTime: 20s
consecutiveErrors: 1
interval: 10s
maxEjectionPercent: 100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment