istio with k8s gateway api configure to use cluster ip instead of a load balancer ip
We can easily configure or annotate gateway to use cluster ip instead of getting a load balancer ip.
Run the following command
kubectl annotate gateway bookinfo-gateway networking.istio.io/service-type=ClusterIP --namespace=default
To get your load balancer ip back, remove this annotation
kubectl annotate gateway bookinfo-gateway networking.istio.io/service-type- --namespace=default
Comments