[JIRA] (JENKINS-50432) Global limit of maximum agents that can be dynamically allocated in a docker swarm

2018-03-27 Thread fl...@itnews-bg.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Steve Todorov created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50432  
 
 
  Global limit of maximum agents that can be dynamically allocated in a docker swarm   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 surya gaddipati  
 
 
Components: 
 docker-swarm-plugin  
 
 
Created: 
 2018-03-27 13:08  
 
 
Environment: 
 Docker: 17.04-ce  Linux: OpenSUSE  Jenkins: 2.111  Docker Swarm Plugin: 1.5  
 
 
Labels: 
 docker swarm  
 
 
Priority: 
  Major  
 
 
Reporter: 
 Steve Todorov  
 

  
 
 
 
 

 
 We have been using this plugin to dynamically provision our agents in a docker container for our builds. Everything has been working quite well so far! However, the is one small issue we're hitting - you can have unlimited jobs which request agents. This is an awesome feature, but our bare-metal cloud is definitely not unlimited so we eventually hit the limit to the machines every now and then.   Would it be possible to have a field in which you can set a global limit for the maximum amount of containers the swarm can handle? And when you get over the limit the plugin would wait until the running containers are below that number.  
 

  
 
 
 
 

 
 
 
   

[JIRA] (JENKINS-50432) Global limit of maximum agents that can be dynamically allocated in a docker swarm

2018-03-27 Thread fl...@itnews-bg.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Steve Todorov updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50432  
 
 
  Global limit of maximum agents that can be dynamically allocated in a docker swarm   
 

  
 
 
 
 

 
Change By: 
 Steve Todorov  
 
 
Issue Type: 
 Bug Improvement  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50432) Global limit of maximum agents that can be dynamically allocated in a docker swarm

2018-03-27 Thread surya.gaddip...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 surya gaddipati updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50432  
 
 
  Global limit of maximum agents that can be dynamically allocated in a docker swarm   
 

  
 
 
 
 

 
Change By: 
 surya gaddipati  
 
 
Attachment: 
 screenshot-1.png  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50432) Global limit of maximum agents that can be dynamically allocated in a docker swarm

2018-03-27 Thread surya.gaddip...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 surya gaddipati edited a comment on  JENKINS-50432  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Global limit of maximum agents that can be dynamically allocated in a docker swarm   
 

  
 
 
 
 

 
 Hi Steve,  You can set limits and reservations per label ( see attached: screenshot).   We do this to avoid scheduling unlimited number for containers.   Let me know if that solves the problem you are facing.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50432) Global limit of maximum agents that can be dynamically allocated in a docker swarm

2018-03-27 Thread surya.gaddip...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 surya gaddipati commented on  JENKINS-50432  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Global limit of maximum agents that can be dynamically allocated in a docker swarm   
 

  
 
 
 
 

 
 Hi Steve,    You can set limits and reservations per label ( see attached: screenshot).   We do this to avoid scheduling unlimited number for containers.   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50432) Global limit of maximum agents that can be dynamically allocated in a docker swarm

2018-04-01 Thread fl...@itnews-bg.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Steve Todorov commented on  JENKINS-50432  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Global limit of maximum agents that can be dynamically allocated in a docker swarm   
 

  
 
 
 
 

 
 surya gaddipati thank you very much for your reply. This seems to be solving the issue so far. We were using the `limit` without `reserve` which was causing the issue. I think we can close this now.   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.