kyma-project / docker-registry

Apache License 2.0
2 stars 7 forks source link

Use NFS Storage as a backend storage for docker registry #51

Open kwiatekus opened 1 month ago

kwiatekus commented 1 month ago

Description Use NFS Storage as a backend storage for docker registry

AC

Test Strategy Full integration test incl. cloud manager should be performed manually. A new unit test should be added (testing which flags are passed to the helm chart based on DockerRegistry CR).

Reason Using Network File System Storage class will be a great addition to the already provided storage options of docker registry. When mounted into docker registry pod, it could serve as a highly available storage resource, the content of which is not purged upon unmounting.

Attachments https://kubernetes.io/docs/concepts/storage/volumes/#nfs https://github.com/kyma-project/cloud-manager/blob/main/docs/user/README.md#features https://github.com/kyma-project/cloud-manager/tree/main/docs/user/tutorials

halamix2 commented 1 week ago

We'll support nfs through PersistentVolumeClaim, as there is an existing support for providing existing PVC; and also because pvc supports more storage options than just nfs