Quick Start Guide
This guide provides a fast way to deploy the Scality S3 CSI Driver using Helm. It's designed for testing and evaluation purposes.
Prerequisites
Before starting, ensure all requirements outlined in the Prerequisites guide are met.
For Testing Only
The quick start guide is intended for testing purposes only. The installation uses default values including:
- Kubernetes Namespace for driver installation:
default
- Kubernetes S3 Credentials Secret name:
s3-secret
- Default S3 Region (can be overridden at volume level):
us-east-1
For production deployments and to customize these values or use a different namespace, see the installation guide.
Installation
Step 1. Set configuration variables:
S3 Endpoint URL
For S3 endpoint URL, port number can be added if needed; example: http://s3.example.com:8000
Port number can be omitted for default port 80
for HTTP or 443
for HTTPS
Replace these values with actual S3 endpoint and credentials.
1 2 3 |
|
Step 2. Create S3 credentials secret:
1 2 3 |
|
Step 3. Install the Scality S3 CSI driver:
1 2 3 4 |
|
Step 4. Check installation:
Check the status of the Helm release:
1 |
|
Check if the CSI driver pods are running:
1 |
|
Expected output: One s3-csi-node-*
pod per worker node, all in Running
state.
Check CSI driver registration:
1 |
|
Uninstallation
If Volumes Were Provisioned
If any applications (Kubernetes pods) were using PersistentVolumes or PersistentVolumeClaims provisioned using the S3 CSI driver, follow the complete uninstallation guide to properly clean up all resources.
For a quick start installation with no volumes provisioned, the driver can uninstall the driver with these simple steps:
Step 1. Uninstall the Helm release:
1 |
|
Step 2. Delete the S3 credentials secret:
1 |
|
Step 3. Check removal:
-
Check that CSI driver is removed
1
kubectl get csidriver s3.csi.scality.com
-
Check that no driver pods remain
1
kubectl get pods -l app.kubernetes.io/name=scality-mountpoint-s3-csi-driver
Next Steps
Volume Provisioning: See the volume provisioning guides to learn how to use S3 buckets as volumes with applications.
For Production Deployments: Follow the installation guide for:
- Namespace isolation
- Secure credential management
- Custom helm configurations