StarAgile
Oct 18, 2024
4,629
20 mins
Jenkins architecture that is distributed is important to a single Jenkins to deal with numerous records and assembles all the while. This blog covers the principal Jenkins architecture and its connected parts. If you are an amateur at Jenkins, it will help you acquire some thought of how Jenkins parts cooperate and the key arrangements included.
What is Jenkins?
Jenkins is a simple to-utilize open-source CI/CD tool. It has been around for quite a while, and a few associations are utilizing it for their CI/CD requirements.
Jenkins Pipeline Architecture
Here's the way Jenkins components are assembled and interface:
The records can contain various codes and be huge, requiring numerous forms. Single Jenkin will fail in such a situation and there comes distributed Jenkins for rescue.
Learn Jenkinsplugins by enrolling in the DevOps training online at StarAgile institute and know more about Jenkins pipeline from here.
Jenkins Architecture Diagram
Jenkins Distributed Architecture
Jenkins utilizes Master-Slave architecture for managing builds that are distributed. In the distributed form communication between Master and Slave happens using TCP/IP. Register for DevOps online courses and learn to work with DevOps CI/CD pipeline.
Jenkins Master
Your primary server in Jenkins is the Master. The Master's responsibility is to deal with:
Jenkins Slave
A Slave is a Java executable that is running on a remote machine. Following are the attributes of Jenkins Slaves:
To work with real-time examples in Jenkins take up the DevOps training.
Steps Involved in Setting up Jenkins Master and Slaves
1. Go to the Manage Jenkins segment and look down to the part of Manage Nodes.
2. Select the New Node and identify it with a name and select the Permanent Agent option to click OK.
3. Enter the following things for the node slave machine.
Upon completing the above-mentioned steps you can see the new node. But at first, it will be disconnected and later reach an online state. It is always possible to put the slave node offline. Follow the steps mentioned above anytime to make it online.
4. Presently since your slave is fully operational, how about we execute a task on a slave. You can run any existing job if available.
5. This can be done by clicking on the ``Limit the area where the project can be executed” from the General section. Choose the slave name and save it.
6. Then finally click on Build now to monitor the results which will be displayed as Success when you have followed all the steps correctly.
Conclusion
So with this, we have arrived at the finish of this blog on Jenkins Master and Slave Architecture. I am sure you got an idea about it and the right way to set it up as well.
In the event of you looking for a profession as a DevOps engineer, then you must attend training in Jenkins certification course to learn the right way to use this tool and master the art of CI/CD.
StarAgile conducts a DevOps certification training course that imparts live training on Jenkins.
professionals trained
countries
sucess rate
>4.5 ratings in Google