01Link
How do I scale staging to zero at night in Kubernetes?
On a timetable, or on use. A timetable turns everything off at a set time and back on at another, such as a CronJob that runs kubectl scale --replicas=0 at night, or kube-green. It can’t tell a room someone is using from an empty one.
Napwake works on use instead. CPU, deploys, your tools’ annotations and Prometheus queries, such as request rate, count as use. It pauses each workload after idleAfter with none, an hour by default, nights and weekends included. The first request wakes it again, so nobody has to know the hours. With autoResume, it also wakes workloads 15 minutes before an hour its forecast expects to be busy.
How it compares shows Napwake, a timetable and a scale-to-zero proxy through one evening.