SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
β€’ Open full site

Use Gateway API to Expose a Workload in SAP BTP, Kyma Runtime

Use Gateway API to expose a workload.

Overview

🎓 intermediate 30 min. SAP BTP Kyma RuntimeIntermediateCloudSAP Business Technology Platform

You will learn

  • βœ”How to install Gateway API CRDs in SAP BTP, Kyma runtime
  • βœ”How to create and expose a sample workload using Gateway API
Unknown U Unknown March 26, 2025
Created by March 26, 2025
Contributors

Prerequisites

Steps

Intro

Learn how to expose a workload in SAP BTP, Kyma runtime using Gateway API. Gateway API allows you to expose workloads using Kubernetes resources like Gateway and HTTPRoute, with Istio integration for managing ingress traffic.

Exposing an unsecured workload to the outside world is a potential security vulnerability, so be careful. If you want to use this example in a production environment, make sure to secure your workload.


Step 1 Install Gateway API CustomResourceDefinitions
β€”

A Gateway API bundle is a collection of Custom Resource Definitions (CRDs) tied to a specific version of Kubernetes Gateway API. Each release of Gateway API provides two channels, standard and regular, which offer different stability levels. The standard release channel includes all resources that have reached General Availability (GA) or beta status, such as GatewayClass, Gateway, HTTPRoute, and ReferenceGrant. These channels are unrelated to Kyma’s fast and regular channels. The Istio module provided by SAP BTP, Kyma runtime supports the Gateway API CRDs installed from the standard channel.

If you’ve already installed Gateway API CRDs from the experimental channel, you must delete them before installing Gateway API CRDs from the standard channel.

  1. To install Gateway API CustomResourceDefinitions (CRDs) from the standard channel, run the following command:

    Shell/Bash
    kubectl get crd gateways.gateway.networking.k8s.io &> /dev/null || \
    { kubectl kustomize "github.com/kubernetes-sigs/gateway-api/config/crd?ref=v1.1.0" | kubectl apply -f -; }
Step 2 Create a workload
+
Step 3 Expose the workload
+
Step 4 Access the Workload
+

Resources

Discussion

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

Submit detailed feedback Discuss in Community
Steps
Step 1 of 4
1. Install Gateway API CustomResourceDefinitions 2. Create a workload 3. Expose the workload 4. Access the Workload

Learn more →