diff --git a/docs/user/tutorials/01-50-send-requests-using-egress.md b/docs/user/tutorials/01-50-send-requests-using-egress.md new file mode 100644 index 000000000..a03f4837a --- /dev/null +++ b/docs/user/tutorials/01-50-send-requests-using-egress.md @@ -0,0 +1,230 @@ +# Send Requests Using Istio Egress Gateway +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. + +## Prerequisites + +* You have the Istio module added. +* To use CLI instruction, you must install [kubectl](https://kubernetes.io/docs/tasks/tools/#kubectl) + and [curl](https://curl.se/). + +## Steps + +1. Export the following value as an environment variable: + + ```bash + export NAMESPACE={service-namespace} + ``` + +2. Create a new namespace for the sample application: + ```bash + kubectl create ns $NAMESPACE + kubectl label namespace $NAMESPACE istio-injection=enabled --overwrite + ``` + +3. Enable the egress Gateway in the Istio custom resource: + ```bash + kubectl apply -f - <