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

[plugin] Helm with helm list #3504

Open
casual-lemon opened this issue Feb 5, 2024 · 6 comments
Open

[plugin] Helm with helm list #3504

casual-lemon opened this issue Feb 5, 2024 · 6 comments
Assignees
Milestone

Comments

@casual-lemon
Copy link
Contributor

I'd like to suggest adding a plugin for helm, specifically helm list to show which charts are installed. If you're using Kubernetes, it is highly likely you have helm and are using helm charts. Thanks!

@TurboTurtle
Copy link
Member

We can certainly do that. Is there anything beyond helm list you'd like to see? Any inspection to be done on whatever items helm list reports? Any files we should collect? Is there a standard naming for helm packaging across distros?

@casual-lemon
Copy link
Contributor Author

casual-lemon commented Feb 5, 2024

I think helm list -a (all) is a good place to start.

It would be very helpful to show any subcharts that also get installed by a parent chart.

  • helm dependency list

Is there a standard naming for helm packaging across distros?
No, not that I'm aware of. I'll double check tho. And you can assign it to me.

@casual-lemon
Copy link
Contributor Author

helm list -a
NAME                 	NAMESPACE	REVISION	UPDATED                                	STATUS  	CHART                       	APP VERSION
kube-prometheus-stack	default  	1       	2024-02-02 15:30:04.092878517 +0000 UTC	deployed	kube-prometheus-stack-56.6.0	v0.71.2    
nvidia-exporter      	default  	1       	2024-02-02 15:32:30.400010235 +0000 UTC	deployed	dcgm-exporter-3.3.1         	3.3.1      
nvidia-gpu-exporter  	default  	1       	2024-02-02 18:08:03.550038253 +0000 UTC	deployed	nvidia-gpu-exporter-0.3.1   	0.3.0  

I did find the best practices guide for naming conventions -
https://helm.sh/docs/chart_best_practices/conventions/
Thanks!

@arif-ali
Copy link
Member

arif-ali commented Feb 6, 2024

curious, what can we get from the helm cli that we cannot get from the kubectl command that would be useful. Here's something I got out of sos. https://paste.ubuntu.com/p/s5sKkbg3R2/. At least that's what we would get once #3501 is refactored and merged

Just doing a simple on in my lab, I installed helm via snap (so, we could easily do packages = ('helm',). The rest could follow as a simple command collection

@casual-lemon
Copy link
Contributor Author

Hi Arif,

The output from helm is specific to charts and what's installed. Specifically we're interested in chart version and their dependencies which kubectl knows nothing about.

Thanks
Heather Lemon

@arif-ali
Copy link
Member

arif-ali commented Feb 6, 2024

The output from helm is specific to charts and what's installed. Specifically we're interested in chart version and their dependencies which kubectl knows nothing about.

cool, sounds good to me :). deffo sounds like a new plugin then

@arif-ali arif-ali added this to the 4.8.0 milestone Feb 14, 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