Skip to content
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

feat: added StatefulSet setup #34

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

DavideWalder
Copy link

Added basic setup to use persistence with a PVC and a StatefulSet. Other charts (e.g. Promethues) allow more options such as:

  • using a non-persistent volume
  • use PVCs with deployments

Here I made it to use either no persistence (current setup) or a StatefulSet with PVC

@DavideWalder
Copy link
Author

I'm testing this and it does correctly use the volume, but when the pod is recreated, old profiles are not loaded/accessible. Am I using the persistence configuration correctly?

@brancz
Copy link
Member

brancz commented Jan 5, 2023

For lots of reasons when shutting down the server may not have been able to successfully persist the in-memory data to object storage yet. You're going to want to enable the write-ahead-log as well for additional durability (--storage-enable-wal).

@PabloPie
Copy link

Hello, this is still relevant, any plans to get it merged?

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.

3 participants