Istio Primary Remote, Different Network. Setting Remote pilot address (in cluster 2) is bind to port 15012 (for xDs)

480 Views Asked by At

I am following this guide for primary remote setup on different network.

https://istio.io/latest/docs/setup/install/multicluster/primary-remote_multi-network/

Instead of using the load balancer on primary to expose the istiod, I am trying to use NodePort. Also verified it using netcat and it works. Now on remote machine when I configure using IstioOperator there is an option for remotePilotAddress but no option for the port i.e it get binded to default 15012. how can I change it to nodePort on which I have exposed the control plane istiod.

1

There are 1 best solutions below

0
On

So far I couldn't do something like this, But for home setup you can bind the service with the reachable address i.e the node ip on which the istiod is running you can do this via this command

kubectl patch svc istio-eastwestgateway -p '{"spec":{"externalIPs":["x.x.x.x"]}}' -n istio-system