8000 feat: Provide ability to create statefulset by yasn77 · Pull Request #156 · verdaccio/charts · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: Provide ability to create statefulset #156

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 15, 2024

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
0