This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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` |