KEDA is a tool that helps Kubernetes scale applications based on real-world events. With KEDA, you can adjust the size of your containers automatically, depending on the workload—like the number of messages in a queue or incoming requests.
Upload Packages: Administrator > Marketplace > Upload Packages page. Click Help Document on the right to get instructions on how to publish the operator to cluster. For more details, please refer to CLI.
Create namespace for KEDA operator if it does not exist:
Run the following command to install KEDA Operator in your target cluster:
Configuration Parameters:
| Parameter | Recommended Configuration |
|---|---|
| metadata.name | keda: The Subscription name is set to keda. |
| metadata.namespace | keda: The Subscription namespace is set to keda. |
| spec.channel | stable: The default Channel is set to stable. |
| spec.installPlanApproval | Automatic: The Upgrade action will be executed automatically. |
| spec.name | keda: The operator package name, must be keda. |
| spec.source | custom: The catalog source of keda operator, must be custom. |
| spec.sourceNamespace | cpaas-system: The namespace of catalog source, must be cpaas-system. |
| spec.startingCSV | keda.v2.17.2: The starting CSV name of keda operator. |
Create KedaController resource named keda in namespace keda:
Configuration Parameters:
| Parameter | Recommended Configuration |
|---|---|
| Channel | stable: The default Channel is set to stable. |
| Version | Please select the latest version. |
| Installation Mode | Cluster: A single Operator is shared across all namespaces in the cluster for instance creation and management, resulting in lower resource usage. |
| Installation Location | Recommended: It will be created automatically if it does not exist. |
| Upgrade Strategy | Please select the Auto.
|
Click on Marketplace > OperatorHub.
Find the installed KEDA operator, navigate to All Instances.
Click Create Instance button, and click KedaController card in the resource area.
On the parameter configuration page for the instance, you may use the default configuration unless there are specific requirements.
Click Create.
After the instance is successfully created, wait approximately 20 minutes, then checking if the KEDA components is already running with the command:
To uninstall KEDA Operator, click on Marketplace > OperatorHub, select installed operator KEDA, and click Uninstall.