Istio Egress Gateway without support for k8s egress networking policy

Hi,

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

Example: https://istio.io/latest/docs/tasks/traffic-management/egress/egress-gateway/

    `/ # wget -qSO -` [ `http://edition.cnn.com` ](http://edition.cnn.com/) `>/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

NAME AGE

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].metadata.name}' -n istio-system).istio-system -o json

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

template was:

{.items[0].metadata.name}

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

Thanks