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

Multiple deploy issues using kubeapps #505

Closed
anannaya opened this issue Aug 17, 2018 · 6 comments
Closed

Multiple deploy issues using kubeapps #505

anannaya opened this issue Aug 17, 2018 · 6 comments

Comments

@anannaya
Copy link

Issue1: : When i do delete of the deployed application ,dependent chart is not getting deleted.
I tried the same using helm command which is deleting
$ helm install --name my-release stable/wordpress
$ helm delete my-release
Why kubeapps does not ?

Issue2 : How do i upgrade the only the dependent chart:
I have a application full-app ----> x
full-app ----> y

If there is any issues , I would like to upgrade only the ( y or x). Is there any way i can upgrade only those using helm not kubectl.

@andresmgot
Copy link
Contributor

Hi @anannaya,

Regarding your first issue, I am not able to reproduce it. I've installed the stable/wordpress chart that depends on the mysql chart and both using the helm cli and Kubeapps I am able to delete the release and the resources related to mysql. Why do you say that the dependent chart is not deleted? What resources remain there?

Regarding the second issue you can clone the charts repository (https://github.com/helm/charts). You will find the dependencies of a chart in the file ./stable/<app>/requirements.yaml. If you update the versions there and execute helm dep up ./stable/<app> it will update the file requirements.lock with the new versions. Then if you want to upgrade your running app without upgrading the main version you can execute helm upgrade --name <your_app_name> --version <your_app_version> ./stable/<app>.

If you have more doubts about how to work with upgrades you can check the helm docs: https://github.com/helm/helm/blob/master/docs/helm/helm_dependency.md

@anannaya
Copy link
Author

Issue1:
I am using the Kubeapps Installer version: v1.0.0-alpha.5,
Sorry for the confusion , the problem looks like with 2.1.10 with mariadb.
bitnami/wordpress 2.1.10 4.9.8 Web publishing platform for building blogs and ...

Issue2: Thanks for explanation, actually i am aware of this procedure. Is there any similar way in kubeapps? Like i want to upgrade the dependent charts because In my application kubeapps does not shows whats dependent charts it is installed. Please correct my understanding.

@anannaya
Copy link
Author

@prydonius Is there any way to handle dependencies using kubeapps?

@prydonius
Copy link
Contributor

@anannaya unfortunately right not it's not possible, but it's a good feature idea. The one thing that makes this difficult is that AFAIK the Tiller state isn't aware of dependencies and we'd need to look at the chart itself to see what dependencies there are.

Also, since dependencies are embedded in the parent chart and charts are immutable packages, we can't really control the version of the dependency at the time of deployment. This is probably something that should be handled out-of-bound of Kubeapps (e.g. using the method @andresmgot suggests above).

@anannaya
Copy link
Author

@andresmgot @prydonius ..Thanks for help .. Time being i will go back for helm cli instead of kubeapps.

@prydonius
Copy link
Contributor

@anannaya I created #529 to capture your request. Closing this out, thanks!

This issue was closed.
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