Installing Ingress Gateways with Istio
Create a namespace for the gateway if one does not exist:
kubectl create namespace <GATEWAY_NAMESPACE>Enable the namespace for injection:
kubectl label namespace <GATEWAY_NAMESPACE> istio.io/rev- istio-injection=enabled --overwriteCopy the configuration files from
samples/gateways/istio-ingressgatewayfrom theanthos-service-meshrepository (https://github.com/GoogleCloudPlatform/anthos-service-mesh-packages/tree/main/samples/gateways).Change your directory to the
samplesfolder. To ensure you are in the correct directory, run thelscommand to list the contents and confirm that thegateways/istio-ingressgatewaydirectory exists.Deploy the ingress gateway, which is located in
samples/gateways:kubectl apply -n <GATEWAY_NAMESPACE> -f samples/gateways/istio-ingressgatewayVerify that the services and pods have been deployed:
kubectl get pod,service -n <GATEWAY_NAMESPACE>
Last updated

