Add IP based LB (#2055)

This commit is contained in:
Preston Van Loon 2019-03-23 09:26:57 -05:00 committed by GitHub
parent ca90acca77
commit aa4f95d818
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,3 +50,15 @@ spec:
port:
number: 4000
host: beacon-chain.beacon-chain.svc.cluster.local
---
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
name: beacon-chain
namespace: beacon-chain
spec:
host: beacon-chain.beacon-chain.svc.cluster.local
trafficPolicy:
loadBalancer:
consistentHash:
useSourceIp: true