COSI Driver installation using Helm

  1. Set up a Kubernetes cluster following the official documentation.
  2. Proceed to the Prerequisites.
  3. Complete the driver installation.

Install Helm 3.0

Install Helm 3.0 on the master node before you install the Dell COSI Driver.

Steps

Run the command to install Helm 3.x.

curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash

Install Driver

Steps

  1. Run git clone -b main https://github.com/dell/helm-charts.git to clone the git repository.

  2. Ensure that you have created the namespace where you want to install the driver. You can run kubectl create namespace dell-cosi to create a new one. The use of dell-cosi as the namespace is just an example. You can choose any name for the namespace.

  3. Create a new file called secret.yaml with the contents of the configuration file. Edit the file with parameters specific to the ObjectScale instance.

cat <<EOF > secret.yaml
connections:
  - objectscale:
      id: objectscale
      credentials:
        username: namespaceadmin
        password: namespaceadminpassword
      namespace: ns1
      mgmt-endpoint: https://mgmt-endpoint-address:4443
      emptyBucket: true
      protocols:
        s3:
          endpoint: https://s3-endpoint-address:9021
      tls:
        insecure: true
EOF
  1. Create a secret by running
kubectl create secret generic cosi-config -n dell-cosi --from-file=config.yaml=secret.yaml
  1. Copy the charts/cosi/values.yaml into a new location with name my-cosi-values.yaml, to customize settings for installation.

  2. Edit my-cosi-values.yaml to set the following parameters for your installation. The following table lists the primary configurable parameters of the COSI driver Helm chart and their default values.
    More detailed information can be found in the values.yaml file in this repository.

    Parameters
  1. Install the driver by running the following command (assuming that the current working directory is charts and my-cosi-settings.yaml is also present in charts directory).
helm install cosi ./cosi --namespace=dell-cosi --values ./my-cosi-values.yaml