Subject: SAP Kyma
As organizations embrace SAP Kyma to build cloud-native, event-driven applications on Kubernetes, effective management of the Kyma environment becomes essential. The Kyma CLI (Command Line Interface) is a powerful tool designed to simplify and accelerate interaction with SAP Kyma clusters, enabling developers and administrators to deploy, test, and maintain applications efficiently.
This article explores how the Kyma CLI can be leveraged to manage SAP Kyma environments and highlights its key features and use cases.
The Kyma CLI is a command-line utility that provides an easy and consistent way to interact with SAP Kyma clusters. It offers commands for installing Kyma, deploying applications, managing runtimes, and debugging issues directly from a developer’s local workstation or CI/CD pipelines.
By abstracting complex Kubernetes commands and Kyma-specific operations, the CLI accelerates development workflows and simplifies cluster management.
The Kyma CLI supports installation of the Kyma runtime on Kubernetes clusters:
Deploy microservices and serverless functions to the Kyma runtime using simple commands:
Kyma CLI simplifies namespace management and environment configuration:
Interact with Kyma’s service catalog to provision and bind services:
Manage event subscriptions and trigger functions or microservices based on events:
Quickly access logs and troubleshoot issues in your Kyma environment:
| Command | Description |
|---|---|
kyma install |
Install Kyma on a Kubernetes cluster |
kyma upgrade |
Upgrade an existing Kyma installation |
kyma deploy |
Deploy an application or function to Kyma |
kyma logs |
Stream logs from a deployed service |
kyma namespace create |
Create a new namespace in the cluster |
kyma service list |
List available services in the Kyma catalog |
kyma subscription create |
Create an event subscription |
kyma connect |
Connect to a running pod for debugging |
Install the Kyma CLI:
Download and install the Kyma CLI binary from the official SAP Kyma GitHub repository or via package managers.
Configure Kubernetes Access:
Ensure kubectl is configured to connect to your Kubernetes cluster where Kyma is or will be installed.
Install or Connect to Kyma:
Use kyma install to deploy Kyma runtime or kyma connect to interact with an existing environment.
Deploy Your Application:
Use kyma deploy to push your microservices or serverless functions into Kyma.
Monitor and Manage:
Utilize kyma logs, kyma service list, and other commands to manage and monitor your applications.
The Kyma CLI is an indispensable tool for developers and administrators working with SAP Kyma, providing streamlined commands to install, deploy, manage, and troubleshoot applications and services on Kyma runtimes. By integrating the Kyma CLI into your development and operations workflows, you can unlock the full potential of SAP Kyma’s cloud-native capabilities, delivering scalable and event-driven applications that align with modern enterprise needs.