SAP

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Send Requests Using Istio Egress Gateway in SAP BTP, Kyma Runtime

Configure and use the Istio egress Gateway to allow outbound traffic from your Kyma runtime cluster to specific external destinations.

Overview

You will learn

  • How to configure the Istio egress Gateway to allow outbound traffic
  • How to send an HTTPS request to an external website
Thomas Jung T Thomas Jung August 21, 2026
Created on March 26, 2025
Contributors

More from Thomas Jung

See all 226 tutorials by Thomas Jung →

Prerequisites

Steps

Intro

Learn how to configure and use the Istio egress Gateway to allow outbound traffic from your Kyma runtime cluster to specific external destinations. Test your configuration by sending an HTTPS request to an external website using a sample Deployment.


Step 1 Configure the Istio egress Gateway

  1. Enable the egress Gateway in the Istio custom resource:

    Shell/Bash
    kubectl apply -f - <<EOF
    apiVersion: operator.kyma-project.io/v1alpha2
    kind: Istio
    metadata:
      name: default
      namespace: kyma-system
      labels:
        app.kubernetes.io/name: default
    spec:
      components:
        egressGateway:
          enabled: true
    EOF
  2. Enable additional sidecar logs to see the egress Gateway being used in requests:

    Shell/Bash
    kubectl apply -f - <<EOF
    apiVersion: telemetry.istio.io/v1
    kind: Telemetry
    metadata:
      name: mesh-default
      namespace: istio-system
    spec:
      accessLogging:
        - providers:
          - name: envoy
    EOF
Step 2 Create a sample Deployment
+
Step 3 Add a hostname to the mesh
+
Step 4 Create an egress Gateway, DestinationRule, and VirtualService to direct traffic
+
Step 5 Send an HTTPS request to the website
+
Step 6 Enhance security by implementing NetworkPolicies
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 6
1. Configure the Istio egress Gateway 2. Create a sample Deployment 3. Add a hostname to the mesh 4. Create an egress Gateway, DestinationRule, and VirtualService to direct traffic 5. Send an HTTPS request to the website 6. Enhance security by implementing NetworkPolicies