Gateway namespace in documentation

I’m trying to configure egress from Kubernetes, roughly following this documentation:

What’s confusing me is when you get to the “Define a gateway to handle all egress traffic” step, the gateway namespace is egress, but in the following VirtualService the route destination is istio-egressgateway.istio-system.svc.cluster.local.

Am I misunderstanding something here, or is this a copypasta error?

The Gateway object does not create a istio-egressgateway pod, this already exists (in istio-system namespace), it just configures it, so I don’t think this is an error

Thanks, I think you’re right.

I was getting confused because there’s no istio-egressgateway deployment workload in my cluster. By default it’s disabled in the Istio helm chart. I redeployed with:

--set gateways.istio-egressgateway.enabled=true

and now I’ve got something more to work with.