Snorlax: Automating Kubernetes Deployment Wake and Sleep Schedules
This repository profile is provided by osrepos.com, an open source repository discovery platform.

Summary
Snorlax is a Kubernetes operator that automates the waking and sleeping of deployments on a schedule. This tool provides significant cost savings, enhanced security, and environmental benefits by scaling down environments when not in use. It also includes a wake server that brings deployments back online upon request, displaying a splash page during the process.
Repository Information
Topics
Click on any tag to explore related repositories
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Introduction
Snorlax is a Kubernetes operator that intelligently manages the lifecycle of your deployments by waking them up and putting them to sleep based on a predefined schedule. Beyond simple scheduling, Snorlax can update ingresses to point to a "wake server" when deployments are asleep. If a request comes in during sleep, the wake server displays a "waking up" splash page and automatically brings the deployments back online, restoring ingresses once they are ready.
Installation
To get started with Snorlax, you can install it using Helm. Follow these steps:
helm repo add moonbeam https://moonbeam-nyc.github.io/helm-charts
helm repo update
helm install snorlax moonbeam/snorlax --create-namespace --namespace snorlax
Examples
After installation, define your SleepSchedule resource to specify the wake and sleep times for your deployments. Here's an example:
apiVersion: snorlax.moonbeam.nyc/v1beta1
kind: SleepSchedule
metadata:
namespace: your-app-namespace
name: your-app
spec:
wakeTime: '8:00am'
sleepTime: '10:00pm'
deployments:
- name: your-app-frontend
- name: your-app-db
- name: your-app-redis
ingresses:
- name: your-app-ingress
requires:
- deployment:
name: your-app-frontend
timezone: 'America/New_York'
Apply this resource using kubectl:
kubectl apply -f your-app-sleep-schedule.yaml
Why Use Snorlax?
Implementing Snorlax in your Kubernetes environments offers several compelling advantages:
- Cost Savings: Significantly reduce cloud resource consumption by scaling down non-essential environments overnight or during weekends. For example, sleeping staging environments for 8 hours daily and on weekends can lead to approximately 55% savings on cloud bills for those resources.
- Security: Minimize your infrastructure's attack surface by ensuring deployments are not active when they are not needed.
- Environmentally Responsible: Contribute to a greener footprint by reducing the energy consumption of your cloud infrastructure.
Links
For more detailed information, contributions, or to explore the source code, visit the official Snorlax GitHub repository:
Related repositories
Similar repositories that may be relevant next.
OpenSandbox: A Secure and Extensible Sandbox Runtime for AI Agents
August 12, 2026
OpenSandbox is a powerful, general-purpose sandbox platform designed for AI applications. It provides secure, fast, and extensible runtime environments, supporting multi-language SDKs and Docker/Kubernetes deployments. This project is ideal for developing and evaluating AI agents in isolated, controlled settings.

Agent Sandbox: Managing Isolated, Stateful Workloads on Kubernetes
August 8, 2026
Agent Sandbox introduces a Sandbox Custom Resource Definition (CRD) and controller for Kubernetes, designed to simplify the management of isolated, stateful, singleton workloads. It provides a declarative API for use cases such as AI agent runtimes, development environments, and persistent single-container sessions. This project aims to offer a lightweight, single-container VM experience built on Kubernetes primitives.

AgentTeams: Collaborative Multi-Agent OS for Human-in-the-Loop Task Coordination
August 7, 2026
AgentTeams is an innovative open-source Collaborative Multi-Agent Operating System designed for transparent, human-in-the-loop task coordination. It leverages Matrix rooms to facilitate seamless interaction between human users and AI agents. This platform empowers teams to manage complex tasks efficiently, ensuring full visibility and control over agent activities.

Fix Inventory: Open-Source Cloud Security Posture Management for Multi-Cloud
May 2, 2026
Fix Inventory is an open-source tool for cloud and security engineers, designed to identify and remediate critical risks across AWS, GCP, Azure, and Kubernetes. It provides a graph-based data model to collect, normalize, and triage security risks in multi-cloud infrastructure, offering a powerful alternative to proprietary cloud security solutions. Written in Python, it supports over 300 cloud services and various security use cases.
Source repository
Open the original repository on GitHub.
11 counted GitHub visits