-
Notifications
You must be signed in to change notification settings - Fork 82
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
Use PV and PVC backed volumes to store application charts #1352
Comments
We should mark such a PVC with the following:
|
Let's mount the PVC on the path: /kubeplus Following changes will be required after this:
|
Carefully go through the code in kubeconfiggenerator.py and helmer/main.go to see if we are not missing any place where we will need to update the chart location. |
Thank you, I'll be working on this issue. Will let you know if any doubts. |
For testing whether PV works as expected, here are the steps:
If steps 5 and 6 are successful then it will mean that PV and PVC worked as expected. This is because, even though KubePlus Pod is newely created, its file system is not affected. |
I have created a PR for the above request, Please let me know if any changes are needed |
Application charts are stored on local file system (on the path /) of helmer and kubeconfiggenerator.
See below for a reference:
https://github.com/cloud-ark/kubeplus/blob/master/plugins/kubectl-upload-chart#L14-#L15
The corresponding volumes of helmer and kubeconfiggenerator are not persistent. If KubePlus Pod is recreated (for instance, when KubePlus is updated), the charts stored on this local volumes of the Pod are lost. We should use a PVC backed volume with helmer and kubeconfiggenerator for storing the chart.
The text was updated successfully, but these errors were encountered: