Introduction
Kubernetes agents in Jenkins let you run your build jobs inside Kubernetes pods. This helps you use containers to isolate builds and scale your build environment automatically.
When you want to run Jenkins build jobs in isolated containers to avoid conflicts.
When you need to scale Jenkins build capacity up or down automatically based on demand.
When you want to use Kubernetes to manage the lifecycle of Jenkins build agents.
When you want to run different build environments for different projects without manual setup.
When you want to reduce resource waste by creating agents only when needed.