Longhorn uses a special Secret resource to configure the backup target. This secret includes the credentials and CA certificate for accessing the MinIO S3 service. Longhorn must be configured to use this Secret by setting the `backup-target-credential-secret` setting to `minio-backups-credentials`. |
||
---|---|---|
.. | ||
.gitignore | ||
README.md | ||
longhorn-ingress.yaml | ||
longhorn-settings.yaml | ||
longhorn.yaml | ||
minio-backups-credentials.yaml |
README.md
Persistent Storage Using Longhorn
Longhorn is a Kubernetes-native persistent storage system. It is quite complex, but installing it is fairly straightforward.
Installation
This is mostly based on the official Install with Kubectl instructions. I wanted to add node selectors to the user-deployed and system-managed components, to ensure that Longhorn only runs on x86_64 nodes, per the Node Selector instructions.
kubectl apply -f longhorn.yaml
Ingress
Expose the Longhorn UI outside the cluster:
kubectl apply -f longhorn-ingress.yaml
Authentication to the UI is handled by Authelia.