Tuesday, 26 March 2024

Agents (Nodes/Slaves) in Jenkins

1. What to use Agents for?
- Agents allow you to run jobs on different machines
- When don't has agent jobs will run on Master server (but will many jobs run same time is easy errors happen)
=> jobs can run on: 1) master server (default); 2) Permanent Agents; 3) Cloud Agents

- Agent types:
+ Permanent Agents: Use for VPS (Virtual private server: DigitalOcean, Linode, PAVietNam...): Manual manage, Jenkins connect to by SSH to distribute the job.
+ Cloud Agents: Use for Cloud (Docker, AWS EC2, Google Compute Engine (GCE), Azure Virtual Machines (VMs)...): Automated mange, Jenkins connect to by Cloud Provider, type of cloud provider want to connect to (e.g., Amazon EC2, Google Compute Engine, Azure VMs).

2. How to use Agents?
- Setting up Permanent Agents
- Setting up Cloud Agents

3. What does Agents include?
- Permanent Agent
- Permanent Agent on GCP
- Docker Cloud Agent (using Docker plugin)
- Docker Cloud Agent (using Docker Pipeline plugin)
- Kubernetes Cloud Agent (on GCP)
- Aws fleet manager (on AWS)

--------------------------
Detailed instructions

* Setting up Cloud Agents ( traditional cloud agents such as AWS, Google Cloud, or Azure)

- TO DO...

Thank you.

No comments:

Post a Comment

Golang Advanced Interview Q&A