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

Persistent Volume on Kubernetes unable to use due to Unspesific Location of Stateful files. #41

Open
anwareset opened this issue Dec 13, 2021 · 0 comments

Comments

@anwareset
Copy link

anwareset commented Dec 13, 2021

MIKHMON is not able to save the data persistently on Kubernetes

As per my understanding this source code have several files that will be overwriten by other script it self. In example is ./include/config.php will save the MIKHMON login password.
In the container orchestration platform such as Kubernetes, usually we make a PV (Persistent Volume) to save a stateful data, but only directory and not a file.
If we mount a PV to ./include than every data inside those source code directory will be empty because the running container will only read the newly mounted volume.

I think it's a good idea for create a specific directory to save any stateful file on it, so we can figure how to implement persistent volume with MIKHMON on Kubernetes.
You can create an specific file to save your only sateful data (string) as placeholder, not combined with any of your code (like config.php).

Thankyou.

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

1 participant