After running install.sh script with 2 clusters in GKE, I am getting the following error-
+ kubectl --context=ctx-1 patch service istio-eastwestgateway --patch '{"spec": {"externalIPs": ["gke-api-gateway-test-default-pool-e83386ae-3z2v"]}}' -n istio-system
The Service "istio-eastwestgateway" is invalid: spec.externalIPs[0]: Invalid value: "gke-api-gateway-test-default-pool-e83386ae-3z2v": must be a valid IP address, (e.g. 10.9.8.7 or 2001:db8::ffff)
I modified the install.sh script to store the external IP in nodes.txt. But, I am now getting-
Error from server (Forbidden): services "istio-eastwestgateway" is forbidden: Use of external IPs is denied by admission control