General Resource Requirements for Kubernetes and Default Port Configuration
The following sections outline the various resources required to run
The required resources for each pod must be sufficient for the type of service it is hosting:
- messaging—the pod is running a software event broker in messaging mode. In a high availability (HA) configuration, the event broker takes either the primary or backup role.
- monitoring—the pod is running a software event broker in monitoring mode (applies only to HA configurations)
- Mission Control Agent—the pod is running the Mission Control Agent, which communicates with the Home Cloud to configure and manage event broker services. For more information, see:
-
The Broker 100 (Developer) class uses a single messaging node (requires one pod for messaging). Broker 250 and larger Service Classes are HA groups that require two messaging pods (primary and backup) and one monitoring pod. .
For more information about the general resource requirements for your advanced event mesh deployment in Kubernetes and the default port configurations, see:
If you are deploying advanced event mesh to an on-premises Kubernetes cluster, you must review the Resource Requirements for Kubernetes for On-Premises Deployments in Customer-Controlled Regions.
You can deploy additional SAP services alongside your event broker services, including:
You must make sure your Kubernetes cluster meets the additional resource requirements for these features. For more information, see Resource Requirements for Additional SAP Service Deployments.
After you have reviewed the general resource requirements for advanced event mesh, you can view more detailed instructions on deploying advanced event mesh to specific Kubernetes platforms:
-
Installing advanced event mesh in STACKIT Kubernetes Engine (SKE)
-
Installing in Alibaba Cloud Container Service for Kubernetes (ACK)
Concurrent Open Files Requirements
To ensure reliable operation of the software event broker, you must set non-standard limits on the number of files that the event broker can have open. The maximum number of concurrent open files for the container processes is governed by the nofiles resource limit. Most container runtimes support setting rlimit values using the ulimit parameter when creating a container.
Your event broker service will fail to start if the hard limit is less than 1048576. For ease of use, SAP recommends using 2448:1048576 or greater for all event broker service instances.
Mission Control Agent Pod Requirements
The Mission Control Agent has the following resource requirements:
| Type | Request | Limit |
|---|---|---|
| CPU | 750m | 750m |
| Memory | 1024 MiB | 1024 MiB |
Approximately once per week, SAP upgrades the Mission Control Agent using a rolling upgrade. The upgrade operation requires double the resources listed above to run successfully. When deployed in an auto-scaling environment, Kubernetes provides these resources as required. Deployments to non-auto-scaling environments must ensure they account for the additional resources required during the upgrade process. This includes ensuring that resource quotas applied to the namespace account for the rolling upgrade requirements.
Multiple Mission Control Agents per Kubernetes Cluster
It is possible to run more than one Mission Control Agent in a Kubernetes cluster. You may want to have a single cluster serve multiple environments such as development, QA, production, and so on. Installing multiple Mission Control Agents in the same Kubernetes cluster allows you to have these environments reside together in the same cluster.
The Mission Control Agent requires a dedicated namespace. Multiple Mission Control Agents require multiple namespaces.
Each Mission Control Agent represents one data center in advanced event mesh, which means that a Kubernetes cluster with multiple Mission Control Agents is hosting multiple data centers from the Cloud Console point of view. The worker nodes are shared amongst these Mission Control Agents, therefore it is important to have enough resources provided by the worker nodes to be able to schedule all the services created by the different Mission Control Agents. When worker nodes are sized so they can run multiple software broker pods, it is also possible for pods from different Mission Control Agents to get scheduled on the same node.