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

Deploy Multi-Tenant Applications using CAP Operator

This tutorial shows you how to deploy your multi-tenant application in SAP BTP, Kyma runtime using the CAP Operator.

Overview

🎓 beginner 20 min. SAP CAP Operator Kubernetes EnvironmentBeginnerCloud OperationsSAP Cloud Application Programming ModelNode JsSAP Business Technology PlatformSAP BTP Kyma Runtime

You will learn

  • βœ”How to deploy your multi-tenant application in SAP BTP, Kyma runtime using the CAP Operator.
Anirudh Prasad A Anirudh Prasad June 26, 2026
Created by March 26, 2026
Contributors

Prerequisites

Prerequisites

Steps

Step 1 Add CAP Operator Helm chart
β€”

CAP Operator provides a plugin to generate a Helm chart for your CAP application.

  1. Add the CAP Operator plugin to your project by running the following command in your project root folder:

    Shell
    npm add @cap-js/cap-operator-plugin -D
  2. Run the following command to generate a Helm chart for your CAP application:

    Shell
    npx cds add cap-operator --with-templates

    As a result, you see a newly created chart folder in your project. The chart folder holds the Helm configuration, including the values.yaml file where you add your container images.

  3. Add your container image settings to your chart/values.yaml file:

    yaml[7,13,19,25]
    ...
    workloads:
        appRouter:
            ...
            deploymentDefinition:
                type: Router
                image: <your-container-registry>/incident-management-approuter:<image-version>
            ...
        server:
            ...
            deploymentDefinition:
                type: CAP
                image: <your-container-registry>/incident-management-srv:<image-version>
            ...
        contentDeploy:
            ...
            jobDefinition:
                type: Content
                image: <your-container-registry>/incident-management-html5-deployer:<image-version>
            ...
        tenantJob:
            ...
            jobDefinition:
                type: TenantOperation
                image: <your-container-registry>/incident-management-mtxs-sidecar:<image-version>
            ...
    ...
  4. Add the EXIT_PROCESS_AFTER_UPLOAD environment variable to the content deploy job in your chart/values.yaml file to ensure that the HTML5 deployer exits after the upload is complete:

    yaml[8,9]
    ...
    contentDeploy:
        ...
        jobDefinition:
            type: Content
            image: <your-container-registry>/incident-management-html5-deployer:<image-version>
            env:
            - name: EXIT_PROCESS_AFTER_UPLOAD
              value: "true"
    ...
Step 2 Deploy CAP Operator Helm chart
+

Resources

Discussion

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

Submit detailed feedback Discuss in Community
Steps
Step 1 of 2
1. Add CAP Operator Helm chart 2. Deploy CAP Operator Helm chart

Learn more →