Install on Red Hat OpenShift Container Platform

Add --set openshift=true to the helm install command

Red Hat OpenShift Container Platform is a Kubernetes solution for both cloud and on-premises with providers such as AWS, Google and Microsoft Azure. Optimize Live is compatible with OpenShift Container Platform versions 4.x and later.

Installation

To install the StormForge Agent on OpenShift, do one of the following:

  • In the StormForge Agent values.yaml file, set openshift: true as a non-nested key-value pair, and then apply the file:

    kubectl apply -f values.yaml
    
  • Include the --set openshift=true argument when you run helm install, as in this example:

    • Replace CREDENTIAL_FILE with the file name that contains your access credential.

    • Replace CLUSTER_NAME with the name of the cluster (lowercase, no underscore) you’re installing the Agent on.

      helm install stormforge-agent oci://registry.stormforge.io/library/stormforge-agent \
      --namespace stormforge-system \
      --create-namespace \
      --values CREDENTIAL_FILE \
      --set clusterName=CLUSTER_NAME \
      --set openshift=true
      

      For installation prequisites, additional arguments, and other details, see the Install topic.

      If you install the Applier, append the same argument:

      helm install stormforge-applier \
      oci://registry.stormforge.io/library/stormforge-applier \
      -namespace stormforge-system \
      --set openshift=true
      

Excluded namespaces

By default, the StormForge Agent does not monitor the following namespaces, as defined in the denyNamespaces parameter in the Agent’s values.yaml file:

  • kube-system
  • openshift.* namespaces (OpenShift system-specific namespaces)

Validate the installation

Within minutes of installing Agent, you’ll see your workloads and a preliminary recommendation in the StormForge UI at https://app.stormforge.io.

Installing the StormForge Agent also creates a project (namespace) in OpenShift as shown in the OpenShift CLI (oc) output below:

$ oc get all -n stormforge-system

NAME                                                       READY   STATUS    RESTARTS   AGE
pod/stormforge-agent-workload-controller 5f6984d44-r94zv   2/2     Running   0          20h

NAME                                                   READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/stormforge-agent-workload-controller   1/1     1            1           20h

NAME                                                             DESIRED   CURRENT   READY   AGE
replicaset.apps/stormforge-agent-workload-controller-5f6984d44   1         1         1       20h
Last modified July 22, 2024