Istio Egress Gateway without support for k8s egress networking policy


I am using a cloud platform that has no support for K8s egress networking policy. Can I still use Istio’s egress gateway? When I apply the example mentioned in Istio’s docs, I get 503 error


    `/ # wget -qSO -` [ `` ]( `>/dev/null`

    `HTTP/1.1 503 Service Unavailable`

    `wget: server returned error: HTTP/1.1 503 Service Unavailable`

$ istioctl version

client version: 1.7.3

control plane version: 1.7.3

data plane version: 1.7.3 (12 proxies)

$ kubectl get gateways


bookinfo-gateway 15d

istio-egressgateway 23h

$ kubectl get pods -l istio=egressgateway -n istio-system

No resources found.

$ istioctl pc routes $(kubectl get pods -l istio=egressgateway -o jsonpath='{.items[0]}' -n istio-system).istio-system -o json

error: error executing jsonpath "{.items[0]}": Error executing template: array index out of bounds: index 0, length 0. Printing more information for debugging the template:

template was:


object given to jsonpath engine was:

map[string]interface {}{"kind":"List", "items":[]interface {}{}, "apiVersion":"v1", "metadata":map[string]interface {}{"selfLink":"", "resourceVersion":""}}

Error: failed to execute command on .istio-system sidecar: failed retrieving pod: resource name may not be empty