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

how do you manage Data in case of cluster rebuild #46

Closed
vincentDcmps opened this issue Feb 19, 2022 · 9 comments
Closed

how do you manage Data in case of cluster rebuild #46

vincentDcmps opened this issue Feb 19, 2022 · 9 comments

Comments

@vincentDcmps
Copy link

vincentDcmps commented Feb 19, 2022

HI I'am new in kubernetes, I ask myself some question on restauration/secret management if you could help me

  • in case of rebuild cluster how to restore data on database or reuse persistant volume?
  • if I uninstall and install helm release this will generate new secret not according with database current password how do you manage this?
  • I can maybe create some custom secret resource to avoid this but what is best method to create this one?
@khuedoan
Copy link
Owner

khuedoan commented Feb 20, 2022

image

Joke aside:

  1. WIP Automated offsite backup #23 (this is in Beta milestone)
  2. Does that matters if the password (for example ArgoCD admin password) changed? In the feature we would rely on SSO and rarely use the admin user.
  3. WIP Declarative secrets management #21 (this is in Beta milestone)

@khuedoan
Copy link
Owner

Yes, auth.existingSecret should work (assuming you're using Bitnami's MySQL chart).

@vincentDcmps
Copy link
Author

Yes I see that but I come back on the third question how to store secret outside of kubernetes 😂

@khuedoan
Copy link
Owner

That's in the third answer, still WIP lol

@vincentDcmps
Copy link
Author

In your GitHub I don't see secret use, if I understand you use vault? But you never call any secret In your configuration

@khuedoan
Copy link
Owner

Yep there's nothing there yet, because it's still in the work 😉

@locmai
Copy link
Sponsor Contributor

locmai commented Feb 20, 2022

All of your concerns are fall into one of the following categories:

As @khuedoan stated that there are some on-going efforts around those stuffs, we just don't have them fully functional at the current state of the project.

The project state that we have right now is: We have a minimal set of secrets that we need for the provisioning and we use them to spin up the whole cluster.

That's it.

For each of those items, we would need to: evaluate the solution, work on it, test it, document it. So I suggest if you need a feature, breaking them down into smaller issue on this GitHub repository, label them as feature request and we could take a look, discuss on the implementation details, keep track on the progress.

@vincentDcmps
Copy link
Author

No problem, I'm just trying to understand how the project works. I just wanted to be sure I understood it correctly.

@khuedoan
Copy link
Owner

Closing as the question is answered.

zanehala added a commit to zanehala/homelab that referenced this issue Mar 22, 2023
retX0 pushed a commit to retX0/homelab that referenced this issue Mar 20, 2024
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

No branches or pull requests

3 participants