Master and Slave Architecture in Jenkins
If we use one machine for jenkins then the moment we run multiple jobs it may burden the machine/vm which can lead to system crash
To reduce burden on jenkins server/vm we can go with master - Slave configuration which could be used to reduce the burden on jenkins server/vm by distributing tasks/load.
Jenkins Master vs Jenkins Slave
The machine/server where jenkins tools is installed can be referred as master machine which is used to create jobs, schedule the jobs and mange the jobs
It will also distribute jobs executions into slave machines/servers
Note: We can Run/execute jobs on jenkins Master machine too however it's not recommended
Jenkins Slave:
It's a machine which is connected to jenkins master machine and execute the job/task assigned by master machine/server.
Slave server/machine will receive tasks from master machine for the job execution.
Comments
Post a Comment