KWOK simulates thousands of Kubernetes nodes and pods with low resource use for development and scale testing of API-driven tools.
Overview
KWOK (Kubernetes WithOut Kubelet) is a toolkit for standing up clusters with thousands of simulated nodes in seconds. Simulated nodes behave like real ones in the API, while using a small CPU and memory footprint suitable for a laptop.
The kwok component drives the lifecycle of fake nodes, pods, and other Kubernetes API resources. kwokctl is a command-line tool to create and manage those clusters. Unlike kubemark, which runs kubelet-like processes and needs more memory at scale, kwok models node behavior directly. Unlike kind, which runs real workloads in containers, KWOK clusters do not execute actual pod processes.
Teams use it with standard Kubernetes clients and controllers that speak the API, including kubectl and Helm. You can tune node labels, taints, capacities, conditions, and pod status to exercise schedulers, controllers, and edge cases without provisioning hardware.
kwokctl supports several runtimes such as binary, Docker, Podman, and Nerdctl across Linux, macOS, and Windows per the project’s support matrix. Pre-built images and portable binaries are documented for installation.
Key features
- Simulated nodes and pods
- kwokctl cluster management
- Low memory at large scale
- Fast cluster create and delete
- Kubernetes API compatibility
- Configurable node and pod behavior
- Multiple kwokctl runtimes
- Works with kubectl and Helm
Use cases
- Scheduler and controller testing
- Large-scale API stress scenarios
- Local development without real nodes
- Benchmarking Kubernetes tooling
- kind alternative without real pods