Overview
kube-green is a Kubernetes addon designed to automatically shut down resources when they are not in use, thereby reducing energy consumption and CO2 emissions. It operates by suspending pods during periods of inactivity, such as nights and weekends, based on user-defined schedules. The core functionality revolves around the SleepInfo custom resource definition, allowing users to specify when and which resources should be suspended. This involves modifying deployment configurations to integrate with kube-green's operator, which then manages the scaling down and up of pods. By optimizing resource utilization, kube-green aims to minimize the environmental impact of Kubernetes clusters while also reducing operational costs associated with unnecessary resource provisioning. The architecture is lightweight, ensuring minimal overhead on the cluster's performance while maximizing energy savings.
