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

Helm manage chart take the exists resources over k8s's management #8658

Closed
haojingcn opened this issue Aug 26, 2020 · 4 comments
Closed

Helm manage chart take the exists resources over k8s's management #8658

haojingcn opened this issue Aug 26, 2020 · 4 comments

Comments

@haojingcn
Copy link

Output of helm version:
3.3.0

Output of kubectl version:
1.13

Cloud Provider/Platform (AKS, GKE, Minikube etc.):
etc.

hi,my request is to enhance the ops.

Image this situation, i have some exists resources in k8s. now i wanna develop a chart to manage this resources. when the chart is done, i try to online this, but i wanna know the different between the chart and exists resources. If the difference is not big, i will take over the resources from k8s to chart. If the difference is too big, i will not apply the chart.

So turely, the enhancement function is:

  1. helm interface: install chart, take the exists resources over k8s, and put it into chart_instances.
  2. helm interface: dry run chart, show the difference between the current and the willingness.

now helm can cover the above requests? or it is arranged?

@bacongobbler
Copy link
Member

bacongobbler commented Sep 2, 2020

This sounds like an opportunity for a plugin, or a helm commandeer --dry-run. Helm does not have support for this, but an assistive tool similar to helm diff might be useful.

See also #2730 for discussions around adopting resources not managed by helm into a release.

@bacongobbler
Copy link
Member

I'm going to close this in favour of #2730 to keep the conversation around adopting existing resources into a release in one ticket. Please post your thoughts and comments there. Thanks!

@haojingcn
Copy link
Author

Got it. But #2730 this plugin is not maintained almostly 3 years. And i try to install it, but some errors occured. So does it used by anyone?
I know helm will validated the annotations and labels, and i have used it. #7649 But edit every resources manually is so terrible, So i try to find some easy way out, #2730 is not my answer, So do someone can give some opinions?

@bacongobbler
Copy link
Member

bacongobbler commented Sep 4, 2020

helm commandeer does not exist yet. There is no solution available to solve your current problem. Someone has to go and implement it. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants