...
- Install ISTIO - Deploy istio control plane in each cluster. (NOTE - For testing use common root CA)
- Configure DNS - To provide resolution of service from remote clusters, istio uses its own DNS called istiocoredns which provides the resolution of remote istio services
Eg:
NOTE - In order to utilize istiocoredns, Kubernetes DNS' must be configured to stub a domain in a specific format
3. Use configMap to add a stub domain to the Kubernetes's DNS.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
kind: ConfigMap
data:
Corefile: |
.:53 {
errors
health
kubernetes cluster.local in-addr.arpa ip6.arpa {
pods insecure
upstream
fallthrough in-addr.arpa ip6.arpa
}
prometheus :9153
proxy . /etc/resolv.conf
cache 30
loop
reload
loadbalance
}
global:53 {
errors
cache 30
proxy . 10.43.57.78
}
|
...
NOTE - In order to utilize istiocoredns, Kubernetes DNS' must be configured to stub a domain in a specific format
...
4. Add Istio service entry with details of the remote servers (server service 03 and server service 04) to the cluster where the client is running
...