Skip to main content

LimitWarden: Kubernetes resource hygiene enforcer

Project description

🚦 LimitWarden

LimitWarden is a Kubernetes-native tool that automatically detects and patches workloads missing resource limits. It helps teams enforce best practices by applying smart CPU and memory defaults to Deployments and StatefulSets keeping clusters stable, efficient, and safe.

✨ Features

  • 🔍 Scans all namespaces for unbounded containers
  • 🧠 Applies heuristic-based CPU/memory requests and limits
  • 🔧 Patches workloads automatically via Kubernetes API
  • 🕒 Runs as a CronJob every hour (configurable)
  • 🐍 Written in Python, easy to extend
  • 📦 One-line installer for instant setup

🚀 Quick Install (One-Line)

  1. Install via script
curl -s https://raw.githubusercontent.com/mariedevops/limitwarden/main/install-limitwarden.sh | bash

#in case with RBAC restrictions and for testing purposes use role instead of cluster role
#it will limit the job to one specific namespace instead of cluster-wide option
curl -s https://raw.githubusercontent.com/mariedevops/limitwarden/main/install-limitwarden-ns.sh | bash


2. 🧵 Install via Helm

helm repo add limitwarden https://mariedevops.github.io/limitwarden
helm install limitwarden limitwarden/limitwarden

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

limitwarden-0.1.0.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

limitwarden-0.1.0-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file limitwarden-0.1.0.tar.gz.

File metadata

  • Download URL: limitwarden-0.1.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for limitwarden-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0341ffe7877674b16ff90a9239bd82176396adef4ac74889b1b80582c4829c4c
MD5 2ae1bf3cf99e97d799f4266232be4087
BLAKE2b-256 9d770aadae38104339743f0ba73348000856dc86246771d3aedbf17d67529858

See more details on using hashes here.

File details

Details for the file limitwarden-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: limitwarden-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for limitwarden-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8f9f8f3ccfff25d557764c2bb2d10eee0527c92b40ce292e8d8d57b3aa26a9df
MD5 6487f850a1931e222dac9628efabb5dd
BLAKE2b-256 eb675a12faf6cb80fecc911b273cd5a40f74b85211323cbef64277f02f2eab15

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page