Skip to content

Instantly share code, notes, and snippets.

View aattuluri's full-sized avatar

aattuluri aattuluri

  • Intuit, Inc.
  • San Diego
View GitHub Profile
@aattuluri
aattuluri / Steps
Created April 2, 2020 22:10
Enable multi-cluster communication for custom domain suffix
Make sure to replace `customsuffix` with `yoursuffix` in each of these steps.
1. Point k8s cluster DNS (kube-dns or coredns) to resolve `customsuffix` using istiocoredns
a. Get the cluster ip for istiocoredns
kubectl get svc istiocoredns -n istio-system -o jsonpath='{.spec.clusterIP}'
b. Edit the kube-dns or coredns cm for the k8s cluster to point to cluster ip obtained in a).
You can use this [script](https://github.intuit.com/services-mesh/admiral/blob/master/install/scripts/redirect-dns.sh) as reference:
2. Configure istiocoredns to resolve entries ending in `customsuffix` (any serviceentry created with host=someservice.somenamespace.customsuffix are resolvable using istiocoredns)
Run the following command and copy the block below into the config map.
`kubectl edit cm coredns -n istio-system`