A user has created a visual flow builder that runs as a K8s operator to automate scaling deployments to zero during off-hours. They are seeking feedback on whether such visual automations are needed or if scripting suffices for others.
We have a staging cluster with 6-7 microservices. Every evening, every weekend, just sitting there burning money. Nobody's using it at 11pm. The obvious fix is a cronjob + kubectl script to scale deployments to zero at night and restore in the morning. I ran that for a while. It works until it doesn't. The cronjob pod gets evicted, or you're debugging at 9pm and someone else's cron wipes your environment. What started as solving this one problem turned into an open source project, a visual flow builder that runs as a K8s operator. A cron CR trigger fires at 8pm, lists deployments by label selector, scales them to zero, sends a Slack sender CR. Reverse flow at 7am. It's all CRDs so it lives in the cluster and survives upgrades. But honestly, do you even have a space for visual automations like this or does scripting cover all your needs? Would love to hear how others approach it. Thanks.