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 --overwrite
Copy the configuration files from
samples/gateways/istio-ingressgateway
from theanthos-service-mesh
repository (https://github.com/GoogleCloudPlatform/anthos-service-mesh-packages/tree/main/samples/gateways).Change your directory to the
samples
folder. To ensure you are in the correct directory, run thels
command to list the contents and confirm that thegateways/istio-ingressgateway
directory exists.Deploy the ingress gateway, which is located in
samples/gateways
:kubectl apply -n <GATEWAY_NAMESPACE> -f samples/gateways/istio-ingressgateway
Verify that the services and pods have been deployed:
kubectl get pod,service -n <GATEWAY_NAMESPACE>
Last updated