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

Enable SAP BTP, Kyma Runtime Using the Command Line

Enabling SAP BTP, Kyma Runtime means creating a Kyma environment instance, i.e. a Kyma cluster. You can then use the Kyma cluster to build applications and extensions to SAP and third-party solutions, manage roles, have your Kubernetes objects backed up, and view metrics and logs.

Overview

🎓 beginner 30 min. SAP Business Technology PlatformBeginnerCloudSAP BTP Command Line Interface

You will learn

  • How to set up a Kyma cluster in a subaccount on SAP BTP, without using the SAP BTP cockpit (see Enable SAP BTP, Kyma Runtime for the same procedure in the cockpit).
  • That the creation of the Kyma cluster takes about 15 - 25 minutes. It happens after step 3 in this tutorial, so you might want to plan in a coffee break before continuing with step 4.
Created by July 14, 2023
Contributors

Prerequisites

Prerequisites

Steps

Windows macOS Linux BAS
Step 1 Log in with th btp CLI

  1. Log in to your global account. We recommend using:
Shell/Bash
btp login --sso
  1. Since you’ll be working in a subaccount, run:
Shell/Bash
btp list accounts/subaccount
  1. Copy the ID of the subaccount in which you want to set up the Kyma cluster to your clipboard.

  2. Set the target to that subaccount with:

Shell/Bash
btp target --subaccount <subaccount ID from your clipboard>

Once the target is set to the subaccount, you no longer need to specify the subaccount ID with every command.

Step 2 Ensure that Kyma is entitled to your subaccount
+
Step 3 Create Kyma Environment Instance
+
Step 4 Get kubeconfig.yaml
+
Step 5 Make kubeconfig.yaml Accessible to kubectl
+
Step 6 Check if you can access your cluster
+

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. Log in with th btp CLI 2. Ensure that Kyma is entitled to your subaccount 3. Create Kyma Environment Instance 4. Get kubeconfig.yaml 5. Make kubeconfig.yaml Accessible to kubectl 6. Check if you can access your cluster

Learn more →