[JIRA] (JENKINS-53313) kubernetes-plugin does not honor instance cap

2018-08-29 Thread d.sche...@gmx.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dietmar Scheidl updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-53313  
 
 
  kubernetes-plugin does not honor instance cap   
 

  
 
 
 
 

 
Change By: 
 Dietmar Scheidl  
 
 
Summary: 
 kubernetes-plugin does not  honer  honor  instance cap  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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-53313) kubernetes-plugin does not honor instance cap

2018-08-29 Thread jenkins...@carlossanchez.eu (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Carlos Sanchez commented on  JENKINS-53313  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: kubernetes-plugin does not honor instance cap   
 

  
 
 
 
 

 
 debug logs?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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-53313) kubernetes-plugin does not honor instance cap

2018-08-29 Thread d.sche...@gmx.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dietmar Scheidl commented on  JENKINS-53313  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: kubernetes-plugin does not honor instance cap   
 

  
 
 
 
 

 
 created template with cap of 5 and using 


Jenkinsfile

 
def test = [:]

for(int i=0;i<200;i++) {
test["branch-${i}"] = {
node('test') {
echo 'start'
sleep 60
echo 'stop'
}
}
}

stage('test') {
parallel(test)
}
 

 yields 11 pods: 

 
Aug 29, 2018 3:10:02 PM org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud provision
INFO: Excess workload after pending Kubernetes agents: 1
Aug 29, 2018 3:10:02 PM org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud provision
INFO: Template: Kubernetes Pod Template
Aug 29, 2018 3:10:02 PM io.fabric8.kubernetes.client.Config tryServiceAccount
WARNING: Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring.
Aug 29, 2018 3:10:02 PM okhttp3.internal.platform.Platform log
INFO: ALPN callback dropped: HTTP/2 is disabled. Is alpn-boot on the boot class path?
Aug 29, 2018 3:10:02 PM hudson.slaves.NodeProvisioner$StandardStrategyImpl apply
INFO: Started provisioning Kubernetes Pod Template from kubernetes with 1 executors. Remaining excess workload: 0
Aug 29, 2018 3:10:12 PM io.fabric8.kubernetes.client.Config tryServiceAccount
WARNING: Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring.
Aug 29, 2018 3:10:12 PM hudson.slaves.NodeProvisioner$2 run
INFO: Kubernetes Pod Template provisioning successfully completed. We have now 2 computer(s)
Aug 29, 2018 3:10:12 PM org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud provision
INFO: Excess workload after pending Kubernetes agents: 11
Aug 29, 2018 3:10:12 PM org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud provision
INFO: Template: Kubernetes Pod Template
Aug 29, 2018 3:10:12 PM io.fabric8.kubernetes.client.Config tryServiceAccount
WARNING: Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring.
Aug 29, 2018 3:10:12 PM okhttp3.internal.platform.Platform log
INFO: ALPN callback dropped: HTTP/2 is disabled. Is alpn-boot on the boot class path?
Aug 29, 2018 3:10:12 PM io.fabric8.kubernetes.client.Config tryServiceAccount
WARNING: Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring.
Aug 29, 2018 3:10:12 PM okhttp3.internal.platform.Platform log
INFO: ALPN callback dropped: HTTP/2 is disabled. Is alpn-boot on the boot class path?
Aug 29, 2018 3:10:12 PM org.csanchez.jenkins.plugins.kubernetes.KubernetesLauncher launch
INFO: Created Pod: test-7tk8z in namespace xxx
Aug 29, 2018 3:10:12 PM org.csanchez.jenkins.plugins.kubernetes.KubernetesLauncher launch
 

  
 

  
   

[JIRA] (JENKINS-53313) kubernetes-plugin does not honor instance cap

2018-08-29 Thread d.sche...@gmx.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dietmar Scheidl edited a comment on  JENKINS-53313  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: kubernetes-plugin does not honor instance cap   
 

  
 
 
 
 

 
 created template with cap of 5 and using{noformat:title=Jenkinsfile}def test = [:]for(int i=0;i<200;i++) {test["branch-${i}"] = {node('test') {echo 'start'sleep 60echo 'stop'}}}stage('test') {parallel(test)}{noformat}yields 11 pods:{noformat}Aug 29, 2018 3:10:02 PM org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud provisionINFO: Excess workload after pending Kubernetes agents: 1Aug 29, 2018 3:10:02 PM org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud provisionINFO: Template: Kubernetes Pod TemplateAug 29, 2018 3:10:02 PM io.fabric8.kubernetes.client.Config tryServiceAccountWARNING: Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring.Aug 29, 2018 3:10:02 PM okhttp3.internal.platform.Platform logINFO: ALPN callback dropped: HTTP/2 is disabled. Is alpn-boot on the boot class path?Aug 29, 2018 3:10:02 PM hudson.slaves.NodeProvisioner$StandardStrategyImpl applyINFO: Started provisioning Kubernetes Pod Template from kubernetes with 1 executors. Remaining excess workload: 0Aug 29, 2018 3:10:12 PM io.fabric8.kubernetes.client.Config tryServiceAccountWARNING: Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring.Aug 29, 2018 3:10:12 PM hudson.slaves.NodeProvisioner$2 runINFO: Kubernetes Pod Template provisioning successfully completed. We have now 2 computer(s)Aug 29, 2018 3:10:12 PM org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud provisionINFO: Excess workload after pending Kubernetes agents: 11Aug 29, 2018 3:10:12 PM org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud provisionINFO: Template: Kubernetes Pod TemplateAug 29, 2018 3:10:12 PM io.fabric8.kubernetes.client.Config tryServiceAccountWARNING: Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring.Aug 29, 2018 3:10:12 PM okhttp3.internal.platform.Platform logINFO: ALPN callback dropped: HTTP/2 is disabled. Is alpn-boot on the boot class path?Aug 29, 2018 3:10:12 PM io.fabric8.kubernetes.client.Config tryServiceAccountWARNING: Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring.Aug 29, 2018 3:10:12 PM okhttp3.internal.platform.Platform logINFO: ALPN callback dropped: HTTP/2 is disabled. Is alpn-boot on the boot class path?Aug 29, 2018 3:10:12 PM org.csanchez.jenkins.plugins.kubernetes.KubernetesLauncher launchINFO: Created Pod: test-7tk8z in namespace xxxAug 29, 2018 3:10:12 PM org.csanchez.jenkins.plugins.kubernetes.KubernetesLauncher launch{noformat} Its more a problem when the pods have a retention of 30mins, then you will end up with lots more.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  

[JIRA] (JENKINS-53313) kubernetes-plugin does not honor instance cap

2018-08-29 Thread d.sche...@gmx.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dietmar Scheidl edited a comment on  JENKINS-53313  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: kubernetes-plugin does not honor instance cap   
 

  
 
 
 
 

 
 created template with cap of 5 and using{noformat:title=Jenkinsfile}def test = [:]for(int i=0;i<200;i++) {test["branch-${i}"] = {node('test') {echo 'start'sleep 60echo 'stop'}}}stage('test') {parallel(test)}{noformat}yields  11  more than 5  pods:{noformat}Aug 29, 2018 3:10:02 PM org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud provisionINFO: Excess workload after pending Kubernetes agents: 1Aug 29, 2018 3:10:02 PM org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud provisionINFO: Template: Kubernetes Pod TemplateAug 29, 2018 3:10:02 PM io.fabric8.kubernetes.client.Config tryServiceAccountWARNING: Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring.Aug 29, 2018 3:10:02 PM okhttp3.internal.platform.Platform logINFO: ALPN callback dropped: HTTP/2 is disabled. Is alpn-boot on the boot class path?Aug 29, 2018 3:10:02 PM hudson.slaves.NodeProvisioner$StandardStrategyImpl applyINFO: Started provisioning Kubernetes Pod Template from kubernetes with 1 executors. Remaining excess workload: 0Aug 29, 2018 3:10:12 PM io.fabric8.kubernetes.client.Config tryServiceAccountWARNING: Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring.Aug 29, 2018 3:10:12 PM hudson.slaves.NodeProvisioner$2 runINFO: Kubernetes Pod Template provisioning successfully completed. We have now 2 computer(s)Aug 29, 2018 3:10:12 PM org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud provisionINFO: Excess workload after pending Kubernetes agents: 11Aug 29, 2018 3:10:12 PM org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud provisionINFO: Template: Kubernetes Pod TemplateAug 29, 2018 3:10:12 PM io.fabric8.kubernetes.client.Config tryServiceAccountWARNING: Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring.Aug 29, 2018 3:10:12 PM okhttp3.internal.platform.Platform logINFO: ALPN callback dropped: HTTP/2 is disabled. Is alpn-boot on the boot class path?Aug 29, 2018 3:10:12 PM io.fabric8.kubernetes.client.Config tryServiceAccountWARNING: Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring.Aug 29, 2018 3:10:12 PM okhttp3.internal.platform.Platform logINFO: ALPN callback dropped: HTTP/2 is disabled. Is alpn-boot on the boot class path?Aug 29, 2018 3:10:12 PM org.csanchez.jenkins.plugins.kubernetes.KubernetesLauncher launchINFO: Created Pod: test-7tk8z in namespace xxxAug 29, 2018 3:10:12 PM org.csanchez.jenkins.plugins.kubernetes.KubernetesLauncher launch{noformat}Its more a problem when the pods have a retention of 30mins, then you will end up with lots more. {noformat}kubectl get pods | grep Runningtest-030t6   1/1   Running   0  1mtest-10bkh   1/1   Running   0  1mtest-1t054   1/1   Running   0  1mtest-3dhmv   1/1   Running   0  1mtest-6smmn   1/1   Running   0  1mtest-7t9qr   1/1   Running   0  1mtest-d355c   1/1   Running   0  1mtest-hs8gg   1/1   Running   0  1mtest-l7mw8   1/1   Running   0  1mtest-mn1vq   1/1   Running   0  1mtest-mrn3z   1/1   Running   0  1mtest-pfp5r   1/1   Running   0  1mtest-pz65l   1/1   Running   0  1mtest-q3v37   1/1   Running   0  1mtest-qsd7n   1/1   Running   0  1mtest-rh9nj   1/1   Run

[JIRA] (JENKINS-53313) kubernetes-plugin does not honor instance cap

2018-08-29 Thread jenkins...@carlossanchez.eu (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Carlos Sanchez commented on  JENKINS-53313  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: kubernetes-plugin does not honor instance cap   
 

  
 
 
 
 

 
 debug logs please https://github.com/jenkinsci/kubernetes-plugin/#debugging  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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-53313) kubernetes-plugin does not honor instance cap

2018-08-29 Thread d.sche...@gmx.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dietmar Scheidl updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-53313  
 
 
  kubernetes-plugin does not honor instance cap   
 

  
 
 
 
 

 
Change By: 
 Dietmar Scheidl  
 
 
Attachment: 
 jenkins.log  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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-53313) kubernetes-plugin does not honor instance cap

2018-08-30 Thread d.sche...@gmx.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dietmar Scheidl commented on  JENKINS-53313  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: kubernetes-plugin does not honor instance cap   
 

  
 
 
 
 

 
 PR: https://github.com/jenkinsci/kubernetes-plugin/pull/374  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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-53313) kubernetes-plugin does not honor instance cap

2018-08-30 Thread jenkins...@carlossanchez.eu (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Carlos Sanchez updated  JENKINS-53313  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-53313  
 
 
  kubernetes-plugin does not honor instance cap   
 

  
 
 
 
 

 
Change By: 
 Carlos Sanchez  
 
 
Status: 
 In  Progress  Review  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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-53313) kubernetes-plugin does not honor instance cap

2018-08-30 Thread jenkins...@carlossanchez.eu (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Carlos Sanchez started work on  JENKINS-53313  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
Change By: 
 Carlos Sanchez  
 
 
Status: 
 Open In Progress  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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-53313) kubernetes-plugin does not honor instance cap

2018-08-30 Thread jenkins...@carlossanchez.eu (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Carlos Sanchez assigned an issue to Dietmar Scheidl  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-53313  
 
 
  kubernetes-plugin does not honor instance cap   
 

  
 
 
 
 

 
Change By: 
 Carlos Sanchez  
 
 
Assignee: 
 Carlos Sanchez Dietmar Scheidl  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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-53313) kubernetes-plugin does not honor instance cap

2018-09-07 Thread jenkins...@carlossanchez.eu (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Carlos Sanchez updated  JENKINS-53313  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-53313  
 
 
  kubernetes-plugin does not honor instance cap   
 

  
 
 
 
 

 
Change By: 
 Carlos Sanchez  
 
 
Status: 
 In Review Resolved  
 
 
Resolution: 
 Fixed  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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.