Istion version: 1.8
I’m trying to set up destination rule for locality lb:
apiVersion: networking.istio.io/v1alpha3 kind: DestinationRule metadata: name: test-locality-based-distribution labels: app: gateway chart: gateway-0.1.0 release: gateway heritage: Helm spec: exportTo: - '*' host: *.svc.cluster.local trafficPolicy: loadBalancer: localityLbSetting: distribute: - from: europe-west1/europe-west1-b/* to: europe-west1/europe-west1-b/*: 90 europe-west1/europe-west1-c/*: 10 - from: europe-west1/europe-west1-c/* to: europe-west1/europe-west1-b/*: 10 europe-west1/europe-west1-c/*: 90 enabled: true
It is applied to ‘istio-system’ namespace. As the rule gets propagated I start getting 503. Istio-proxy logs:
2021-03-25T14:21:21.375Z] “- - -” 0 UH “-” 0 0 0 - “-” “-” “-” “-” “-” - - 10.34.0.1:443 10.33.43.17:36162 - -
Target that is not avalable when destination rule is set is kubernetes.default.svc. I tried adding trafficPolicy.tls.mode but that did not help at all. I tried SIMPLE/ISTIO_MUTUAL but as said not working.
I was looking into these to figure how to setups and what could be wrong:
But still no clue what I’m missing. Any pointers, suggestions?