COSI Driver installation using Helm
- Set up a Kubernetes cluster following the official documentation.
- Proceed to the Prerequisites.
- 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
-
Run
git clone -b main https://github.com/dell/helm-charts.gitto clone the git repository. -
Ensure that you have created the namespace where you want to install the driver. You can run
kubectl create namespace dell-cosito create a new one. The use of dell-cosi as the namespace is just an example. You can choose any name for the namespace. -
Create a new file called
secret.yamlwith 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
- Create a secret by running
kubectl create secret generic cosi-config -n dell-cosi --from-file=config.yaml=secret.yaml
-
Copy the charts/cosi/values.yaml into a new location with name my-cosi-values.yaml, to customize settings for installation.
-
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 thevalues.yamlfile in this repository.
- 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