Skip to content

Instantly share code, notes, and snippets.

@rinormaloku
Created January 6, 2019 22:58
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 rinormaloku/b13db113c7490d04f46a43bd17dbd6be to your computer and use it in GitHub Desktop.
Save rinormaloku/b13db113c7490d04f46a43bd17dbd6be to your computer and use it in GitHub Desktop.
[Destination Rule SA-Frontend] consistent hash loadbalancing for Introduction to Istio series https://rinormaloku.com/istio-an-introduction/ #istio
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
name: sa-frontend
spec:
host: sa-frontend
trafficPolicy:
loadBalancer:
consistentHash:
httpHeaderName: version # 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment