Skip to content

Instantly share code, notes, and snippets.

@karthikt-yahoo
Created May 14, 2019 22:37
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 karthikt-yahoo/16f1c343dd0070190c88d6029ece6ca1 to your computer and use it in GitHub Desktop.
Save karthikt-yahoo/16f1c343dd0070190c88d6029ece6ca1 to your computer and use it in GitHub Desktop.
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
annotations:
labels:
name: service_b
namespace: test
spec:
host: service_b.test.svc.cluster.local
trafficPolicy:
connectionPool:
http:
http1MaxPendingRequests: 100000
http2MaxRequests: 100000
maxRequestsPerConnection: 100000
maxRetries: 3
tls:
caCertificates: /etc/certs/root-cert.pem
clientCertificate: /etc/certs/cert-chain.pem
mode: MUTUAL
privateKey: /etc/certs/key.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment