Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
Aydin_Ozcan
Explorer
Kyma is transitioning into a modular architecture, shifting away from its current component-based structure. This shift means that not all of the software managed by Kyma on Kubernetes is automatically installed and activated from the very beginning.

This transformation aims to conserve resources when operating a Kyma cluster, especially when certain components are unnecessary for your specific use case. This streamlined approach also simplifies Day 2 operations, allowing you to activate only the components you truly require.

Currently, two Kyma components have started this modular journey:

  • BTP Operator: This module facilitates the integration of SAP BTP services within your Kubernetes cluster.

  • Keda: Scales your applications based on events.


Further down the line, additional components will adopt this modular structure:

  • Istio: Service mesh with Kyma-specific settings.

  • Serverless: Empowers you to execute code without concerning yourself with the underlying infrastructure.

  • Telemetry: Gathering and measuring data.

  • Eventing & NATS: Manages the distribution of events.

  • Application Connector: Connects various SAP or non SAP systems.

  • API Gateway: API traffic management.


Impact on Us


Let's consider the case of the BTP Operator: If you don't manually activate this module, you won't be able to generate service instances for SAP-provided services like 'xsuaa' and 'destination'. Furthermore, establishing service bindings for these services will not work.

In addition, running a command like this to obtain the cluster ID:
kubectl get cm sap-btp-operator-config -n kyma-system -o jsonpath='{.data.CLUSTER_ID}'

Won't yield results if the BTP Operator is not activated.

Activating Modules


To activate these modules:

  1. Once your Kyma cluster is provisioned, head to the 'kyma-system' namespace.

  2. In the left navigation panel, locate 'Kyma' at the bottom.

  3. Select the 'default' option.

  4. Within the 'default' section, when you press the edit button, a new window will open, and you'll discover choices to activate specific modules.

  5. Keep the regular channel if you are provisioning for production.

  6. It can take up to 5 minutes to activate the modules, and you may need to log off and log back in to your dashboard.




There are couple of other options for enabling modules via CLI or configuration YAML files.

If you're working with the kyma-cli and you've self-provisioned your cluster in an environment like k3s, the following command should function:
kyma alpha enable module btp-operator --channel fast --wait

However, to make this work with the BTP Kyma runtime.
kyma alpha enable module btp-operator --channel fast --wait --kyma-name default

The Kyma CLI expects the config name to be "kyma-default" but the BTP Kyma uses "default" instead.

This shift towards modularity furnishes you with amplified control and efficiency. It empowers you to customize Kyma precisely to your requirements and more importantly reduces costs.
2 Comments
Labels in this area