moonbeam-nyc / snorlax

wake and sleep Kubernetes deployments on a schedule
https://moonbeam.nyc
Apache License 2.0
151 stars 11 forks source link

Feature Request: Add support for tolerations #8

Open jan-delaet opened 2 months ago

jan-delaet commented 2 months ago

I love the project and would like to use it for some of our customer's DEV environments. The only issue I have currently is that there is no support for Kubernetes tolerations, both in the Helm chart (minor issue) as well as in the operator itself that creates the deployment for the snorlax pods. I added default tolerations to namespaces in a test cluster, but it would be nice if this was supported within snorlax itself.

Would it be possible to implement this? I would also be willing to try to implement this myself through a PR, if you are accepting those currently.

Thanks for the awesome tool!

azlyth commented 2 months ago

Hey @jan-delaet! Agreed, this is definitely a feature that a Helm-deployable operator should have.

Feel free to open a PR yourself, I'll happily review it. But if not, I'll be able to get to it soon!

(And thanks for the kind words!)