KOP Recipes - StormForge - Rafay Product Documentation

Configure

In this section, you will create a standardized cluster blueprint with the StormForge add-on. You can then reuse this blueprint with all your clusters.

Step 1: Create Namespace

In this step, you will create a namespace for the StormForge agent.

Step 2: Download Agent Helm Chart

In this step, you will download the latest agent Helm chart. The downloaded chart will be used in a later step.

helm pull oci://registry.stormforge.io/library/stormforge-agent

Step 3: Create StormForge Credentials

In this step, you will create a credentials file that the StormForge agent will use to authenticate with your StormForge account. The credentials will be used in a custom values file for the Helm chart.

Step 4: Create Custom Values File

In this step, you will create a custom values file to be used with the Helm chart. The values file will contain the previously created access credentials and the cluster name.

The file should look similar to the following file.

clusterName: {{{ .global.Rafay.ClusterName }}
stormforge:
  address: https://api.stormforge.io/
authorization:
  issuer: https://api.stormforge.io/
  clientID: ***** # stormforge_creds
  clientSecret: ****

Step 5: Create StormForge Add-on

In this step, you will create a custom add-on for the StormForge agent. This add-on will be added to a custom cluster blueprint in a later step.

Step 6: Create Blueprint

In this step, you will create a custom cluster blueprint that contains the StormForge agent add-on that was previously created. The cluster blueprint can be applied to one or multiple clusters.

Step 7: Apply Blueprint

In this step, you will apply the previously created cluster blueprint to an existing cluster. The blueprint will deploy the StormForge agent to the cluster.

The controller will publish and reconcile the blueprint on the target cluster. This can take a few seconds to complete.

Step 8: Validate Agent Reporting

In this step, you will access your StormForge account to ensure the StormForge agent is reporting to your account.

You will see the cluster in which you previously applied the blueprint with the StormForge agent.

Note

It could take up to 1 hour to begin to see insights for the cluster.

Recap

Congratulations! You have successfully deployed the StormForge agent on your managed Kubernetes cluster as an add-on in a custom cluster blueprint. You then validated the agent was communicating with your StormForge account.