简体   繁体   English

Jenkins 主从节点配置

[英]Jenkins master and slave node configuration

I am new to Jenkins and I have configured master-slave nodes as shown below, but I need help to configure the no of executors in each of the below slave nodes我是 Jenkins 的新手,我已经配置了主从节点,如下所示,但我需要帮助来配置以下每个从节点中的执行程序数量

在此处输入图片说明

Currently, I have configured 100 executors in each slave nodes目前,我在每个slave节点配置了100个executor

How many no of executors I can configure in each slave node and what fact(memory, RAM, etc) need to take consider when increasing the no of executors?我可以在每个从节点中配置多少个执行器,以及在增加执行器数量时需要考虑哪些事实(内存、RAM 等)?

Maximum how many no of executors I can configure in each server?我最多可以在每个服务器中配置多少个执行程序?

在此处输入图片说明

Well it totally depends on your usage.好吧,这完全取决于您的使用情况。 There are multiple factors such as how much cpu and memory is available, how the build are going to execute and what kind of builds, how frequent these build should run etc. But I can clearly say that 100 is too big number.有多种因素,例如有多少 CPU 和内存可用、构建将如何执行以及构建的类型、这些构建运行的频率等。但我可以明确地说 100 是一个太大的数字。 I would suggest go with 20 builds (if builds run frequently and have fair amount of CPU and memory) first and observe if is there any issue with numbers or not then you can increase accordingly.我建议先使用 20 个构建(如果构建频繁运行并且有相当数量的 CPU 和内存),然后观察数字是否有任何问题,然后您可以相应地增加。

here is very nice article check this out https://www.avantica.com/blog/jenkins-balance-load-master-slave-setup#:~:text=Jobs%20are%20built%20using%20executors,to%20build%20two%20different%20tasks .这是非常好的文章,请查看https://www.avantica.com/blog/jenkins-balance-load-master-slave-setup#:~:text=Jobs%20are%20built%20using%20executors,to%20build %20two%20different%20tasks .

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM