
Retyc CSI driver is a CSI driver that uses your Retyc account to support dynamic
provisioning of ReadWriteMany Kubernetes Persistent Volumes via Persistent Volume Claims. Each Persistent Volume is
a Retyc dataroom, named after the volume, encrypted end to end on the node before anything reaches the Retyc servers.
You need a Retyc account and the retyc CLI. The driver uses two credentials:
retyc auth login --offline;Your nodes must run Kubernetes 1.34 or later, allow privileged pods, have /dev/fuse and reach api.retyc.com.
Follow the instructions from the helm chart README.
The tl;dr is
$ helm repo add retyc https://retyc.github.io/retyc-k8s-csi/
$ helm install retyc-csi retyc/retyc-csi --namespace kube-system \
--set credentials.token=<token> \
--set credentials.keyPassphrase=<key passphrase>
Both pods must be 2/2 Running; a 1/2 means the credentials are wrong (see
doc/troubleshooting.md):
$ kubectl -n kube-system get pods -l app.kubernetes.io/instance=retyc-csi
Deploy the test resources, a claim with a writer pod and a reader pod:
$ kubectl create -f https://raw.githubusercontent.com/retyc/retyc-k8s-csi/master/examples/rwx-test.yaml
$ kubectl logs -f retyc-reader
The reader prints the lines the writer appends. Check retyc dataroom ls, or the Retyc web app: the dataroom is
there, named after the volume.
Delete the test resources:
$ kubectl delete -f https://raw.githubusercontent.com/retyc/retyc-k8s-csi/master/examples/rwx-test.yaml
The dataroom is gone as well.
Use accessModes: [ReadWriteMany] and one of the storage classes:
retyc-rwx: deleting the claim deletes the dataroom;retyc-rwx-retain: deleting the claim keeps the dataroom;retyc-rwx-tenant: same, with the credentials of a retyc-credentials Secret in the claim's namespace instead of
the cluster-wide ones (see doc/configuration.md).Every pod mounting the claim, on any node, shares the same dataroom. It behaves like a network drive: writes made on one node show up on the others a few seconds later, and concurrent writes to one file are not safe. Good for documents, configuration and artefacts; not for databases.
$ make build test lint # driver
$ make helm-lint # chart
$ make image # container image
$ make vm-up # single-node k3s in a Vagrant VM, then: make image vm-load vm-secret vm-helm
MIT - © Retyc / TripleStack SAS
Content type
Image
Digest
sha256:5ecfb0534…
Size
47.2 MB
Last updated
6 days ago
docker pull retyc/retyc-k8s-csi