Overview - Kubernetes agents
What is it?
Kubernetes agents are worker nodes or pods that run tasks for Jenkins pipelines inside a Kubernetes cluster. They allow Jenkins to dynamically create and manage build environments on demand. This means Jenkins can run jobs in isolated containers that match the needs of each task.
Why it matters
Without Kubernetes agents, Jenkins would need fixed, pre-configured machines to run jobs, which wastes resources and limits flexibility. Kubernetes agents let Jenkins scale up and down automatically, saving costs and speeding up builds. This dynamic approach fits modern cloud-native workflows and helps teams deliver software faster.
Where it fits
Before learning Kubernetes agents, you should understand basic Jenkins concepts like pipelines and agents, and have a grasp of Kubernetes fundamentals like pods and clusters. After this, you can explore advanced Jenkins-Kubernetes integrations, custom pod templates, and scaling strategies.