ManoManoTech / kubernetes-node-specific-sizing

Helps you resize pods created by a DaemonSet depending on the amount of allocatable resources present on the node.
Apache License 2.0
16 stars 2 forks source link

Helm chart #2

Open afreyermuth98 opened 2 months ago

afreyermuth98 commented 2 months ago

Hello!

Did you planned / have you began to develop the helm chart ? If not I would be pleased to contribute to :)

eliebleton-manomano commented 2 months ago

Hello! Thank you for your kind offer.

For this project we experimented with a set of kustomize templates instead of going Helm, but we're actually rolling it out with Helm internally, mostly for rollback/uninstall purposes.

If you'd like to go down this route, we basically used gilt to mirror the public kustomize base (in kustomize/base), added a few patches (tolerations, extra labels), render it as raw manifests using kustomize build into a templates folder alongside a Chart.yaml. That covers it for install/diff/upgrade/uninstall purposes. I'm open to share the skeleton of that thing using gist if you're interested.

This approach provides zero Helm tunables, but thanks to kustomize patches anything can be done and it feels refreshingly simple compared to using helm templating.

Are you aware of a way to transmute our kustomize manifests into a chart that would support customisations through the usual values.yaml? I'd find it more palatable than maintaining two sets of install manifests.

afreyermuth98 commented 2 months ago

I don't know / I don't think if this kind of thing exists :/ For a standard purpose, I would go also for Helm to let the most of the people use this project :) I would be happy to have access to your kustomize gists to get inspirated but in a first point I'll make a really basic and simple helm chart and then it would be open to any improvements by the community :) I can give you write access to my fork if you want to contribute with me on this chart :)

eliebleton-manomano commented 2 months ago

I'll be happy to take a look at what you come up with and possibly give it a go on a test cluster :) Let me know when you're happy with your draft.

afreyermuth98 commented 2 months ago

Hey @eliebleton-manomano , just pushed it. Is your docker image hosted somewhere for the moment ? Maybe we can also put a CI CD here to release it :)