Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@yasn77
Copy link
Contributor

@yasn77 yasn77 commented Nov 11, 2024

When using verdaccio as purely an edge cache, multiple deployment replicas require that the storage PV support ReadWriteMany. However, such PVs are not always available.

A StatefulSet can be used instead, where each replica will have it's own PV. This has the downside that initially the storage will be empty and may take time for them to get populated.

To be clear, Using StatefulSet is primarly useful for when verdaccio is an edge cache; Using it as a regular NPM registry (accepting uploads), would require additional step of syncing artifacts.

yasn77 and others added 2 commits November 11, 2024 15:08
When using verdaccio as purely an edge cache, multiple deployment replicas require that
the storage PV support ReadWriteMany. However, such PVs are not always available.

A StatefulSet can be used instead, where each replica will have it's own PV.
This has the downside that initially the storage will be empty and may take time
for them to get populated.

To be clear, Using StatefulSet is primarly useful for when verdaccio is an edge
cache; Using it as a regular NPM registry (accepting uploads), would require
additional step of syncing artifacts.
@yasn77
Copy link
Contributor Author

yasn77 commented Dec 13, 2024

@juanpicado any chance this can get reviewed.

Thanks

@juanpicado juanpicado merged commit 317a01e into verdaccio:master Dec 15, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants