COSI Driver installation using Operator
The COSI Driver for Dell ObjectScale can be deployed by using the CSM Operator.
- Set up a Kubernetes cluster following the official documentation.
- Proceed to the Prerequisites.
- Complete the driver installation.
Operator Installation
To deploy the Operator, follow the instructions available here.
Steps
- Ensure that you have created the namespace where you want to install the driver.
kubectl create namespace dell-cosi
- 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
- Create a Custom Resource (CR) for COSI using either minimal resource file or the more configurable sample. Save one of the following YAML blocks to a file.
Minimal Configuration
Detailed Configuration
- Create the COSI CR using the CR.
You should see the following output:
kubectl create -f csm-cosi.yamlcontainerstoragemodule.storage.dell.com/cosi created - Validate the installation
# kubectl get csm -A NAMESPACE NAME CREATIONTIME CSIDRIVERTYPE CONFIGVERSION STATE dell-cosi cosi 16s cosi v1.0.0 Succeeded # kubectl -n dell-cosi get pods NAME READY STATUS RESTARTS AGE cosi-59fbff5ff-m2j5x 2/2 Running 0 32s cosi-59fbff5ff-w2sxm 2/2 Running 0 32s