Setup
In this exercise, you will then create a namespace and provision KEDA Helm chart within the namespace
Important
This tutorial describes the steps using the Rafay Web Console. The entire workflow can also be fully automated and embedded into an automation pipeline
Assumptions¶
You have already provisioned or imported a Kubernetes cluster into your Rafay Org.
Step 1: Create Namespace¶
- Login into the Web Console
- Navigate to Infrastructure -> Namespaces
- Create a new namespace, specify the name (e.g. keda) and select type as Wizard
- In the placement section, select a cluster
- Click Save & Go to Publish
- Publish the namespace
Step 2: Create KEDA Add-on¶
- Navigate to Infrastructure -> Add-Ons
- Select New Add-On -> Create New Add-On from Catalog
- Search for keda
- Select KEDA from default-helm
- Select Create Add-On
- Specify the namespace (e.g. keda and select the host namespace created as part of the previous step
- Click Create
- Enter a version name
- Click Save Changes
Step 3: Create Blueprint¶
- Navigate to Infrastructure -> Blueprints
- Select New Blueprint
- Enter a name for the blueprint
- Click Save
- Enter a version name
- Click Configure Add-Ons
- Select the previously created add-on
- Click Save Changes
- Click Save Changes
Step 4: Apply Blueprint¶
- Navigate to Infrastructure -> Clusters
- Click the gear icon on your cluster and select Update Blueprint
- Select the previously created blueprint
- Click Save and Publish
After a few seconds, the blueprint with the KEDA add-on will be published on the cluster.
Step 5: Verify deployment¶
- Navigate to Infrastructure -> Clusters
- Click KUBECTL on your cluster
- Type the following command
kubectl get all -n keda
Recap¶
Congratulations! You have successfully provisioned KEDA on your cluster using a blueprint. This same cluster blueprint can also be used on additional clusters.