The Archil CSI Driver is currently in preview.
- Helm chart distribution: The driver is provided as an OCI Helm chart and requires Helm v3.8.0 or newer.
- DNS access: Pods must have access to external DNS to mount Archil disks. (Note: some providers, such as Fly.io, don’t enable this by default.)
Quickstart
The Archil CSI Driver does not support dynamic provisioning of disks. You must create the disk in the Archil console first.
1. Install CSI driver
Install the CSI driver using our official Helm chart from Docker Hub. The chart deploys the archildata/csi-driver container image.2. Configure disk users
Archil natively supports using AWS IAM users or roles to authorize access to the disk. Simply add the ARN of the IAM user or role that will be used to connect to the disk.
- Get your EC2 server’s IAM role arn using the following command:
- Copy the resulting IAM role arn.
- Update your helm release:
- Restart the CSI driver daemonset:
This IAM role is used for authentication from the CSI driver to all disks. The Archil CSI Driver does not currently support specifying IAM roles on a per-disk basis.
3. Create PersistentVolume
4. Create PersistentVolumeClaim
5. Create a pod
This example creates a simple demo pod to verify connectivity to your Archil disk. You can deploy your own applications using any pod configuration, just mount the PVC as shown below.Configuration reference
Storage access modes
TheaccessMode that you use when creating your PersistentVolume and PersistentVolumeClaim will determine whether the
disk is mounted with support for other clients to access it. When using ReadWriteOnce, the disk is mounted into single
ownership mode, preventing other clients from accessing the disk. When using ReadWriteMany, the disk is mounted with
--shared, allowing multiple clients to access the disk simultaneously. For more details, see the
Shared Disks page.
Helm Chart values
The following table describes all available configuration options invalues.yaml:
| Parameter | Description | Default | Required |
|---|---|---|---|
| image.tag | Container image tag | 0.1.0 | No |
| image.pullPolicy | Image pull policy | IfNotPresent | No |
| serviceAccount.annotations | Service account annotations for AWS IRSA | {} | No |
| extraEnv | Additional environment variables for the CSI driver container | [] | No |
| resources | Resource limits and requests for the CSI driver container | {} | No |
| nodeSelector | Node selector for CSI driver pod placement | {} | No |
| tolerations | Pod tolerations | [] | No |
| affinity | Pod affinity rules | {} | No |
Changelog
- Initial preview release