Installing the Lightbits Operator on OpenShift 4.19

The following are instructions for how to install Lightbits Operator on OpenShift version 4.19.

You will first need to create a new project for the CSI, using #oc new-project <project-name>.

  1. Install the operator using the OpenShift Web Console.
  2. Create the cluster and csidriver CRs in your own selected OpenShift project.

The following steps detail how to install the Lightbits CSI using the Red Hat OperatorHub.

  1. Use the OpenShift Web Console to install the Lightbits Operator. Select the OperatorHub and search for Lightbits and follow the on-screen instructions.
  2. Click Lightbits Operator.
  1. Click Install.
  1. Click Install.
  1. Click View Operator if you want to inspect it.
  1. Create a secret yaml file for the Lightbits cluster. Below is a sample of a secret file. Make sure to change the <name> and <namespace>, and add the base64 format Lightbits JWT token.
Bash
Copy
  1. Deploy the secret file and verify:

# oc apply -f <secret>.yaml

# oc get secret -n <namespace>

  1. Create a Lightbits Cluster Custom Resource (CR) and install it. Below is an example of the CR. Make sure to change the IP addresses and other relevant fields.
Bash
Copy

# oc apply -f <lightbits-cluster.yaml>

  1. Create a Lightbits CSI Driver CR and install it. Below is a sample of the CSI driver CR.
Bash
Copy

# oc apply -f <lightbits-csidriver.yaml>

  1. Verify to ensure that the statefulset and daemonset are running.

# oc -n <project> get sts,ds,pods

  1. Create a storage class and install it. Below is an example of a storage class. Make sure to change the values to reflect your cluster.
Bash
Copy

# oc apply -f <lightbits-sc.yaml>

  1. Verify:

# oc -n <namespace> get sts,ds,pods

  1. This completes the procedure. You can now create the pods and pvc to test it.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard