Skip to content

Egress Gateway

  • The istio gateway is a single pod that is deployed in the istio-system namespace
  • All the Gateway CRDs just redirect traffic to that pod in the istio-system namespace

Installing the Gateway

# Make sure to have the egressGateway enabled
kind: IstioOperator
spec:
  profile: demo
  components:
    egressGateways:
      - name: istio-egressgateway
        enabled: true
# If you want to use the official Kubernetes Gatewas CRDs.. (otherwise you can use the istio ones)
kubectl kustomize "github.com/kubernetes-sigs/gateway-api/config/crd?ref=v1.3.0" | kubectl apply -f -

# Check the logs of the gateway
kubectl logs -l istio=egressgateway -c istio-proxy -n istio-system -f

# Deploy an HTTP Client (curl)
kubectl apply -f curl-client.yaml

# Apply the mesh config
kubectl apply -f mesh-config.yaml

# Send requests
kubectl exec test-curl -- curl -sSI https://postman-echo.com/delay/1