[JIRA] (JENKINS-56889) Kubernetes creates too many slaves

2019-04-24 Thread jenkins...@carlossanchez.eu (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Carlos Sanchez closed an issue as Duplicate  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-56889  
 
 
  Kubernetes creates too many slaves   
 

  
 
 
 
 

 
Change By: 
 Carlos Sanchez  
 
 
Status: 
 Open Closed  
 
 
Resolution: 
 Duplicate  
 

  
 
 
 
 

 
 
 

 
 
 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-56889) Kubernetes creates too many slaves

2019-04-23 Thread walt...@163.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Tony Wen commented on  JENKINS-56889  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Kubernetes creates too many slaves   
 

  
 
 
 
 

 
 I'm having the same issue. jenkins ver 2.174, Kubernetes plugin 1.15.1. Looks like jenkins is provisioning pod continuously using over-provisioning setting. but it is not applicable here with Kubernetes plugin when each job pipeline is configured with unique pod label.  Only 1 pod will be used to execute 'real' command and all others will never get used by any other build. Logs 

 

Apr 19, 2019 8:11:28 AM org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud pro  vision
INFO: Excess workload after pending Kubernetes agents: 1
Apr 19, 2019 8:11:28 AM org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud pro  vision
INFO: Template for label k8s-csf-cctf-test-CCTF-1-1: Kubernetes Pod Template
Apr 19, 2019 8:11:28 AM org.csanchez.jenkins.plugins.kubernetes.KubernetesClientPro  vider createClient
INFO: Created new Kubernetes client: kubernetes io.fabric8.kubernetes.client.Defaul  tKubernetesClient@49f45b70
Apr 19, 2019 8:11:28 AM okhttp3.internal.platform.Platform log
INFO: ALPN callback dropped: HTTP/2 is disabled. Is alpn-boot on the boot class pat  h?
Apr 19, 2019 8:11:28 AM hudson.slaves.NodeProvisioner$StandardStrategyImpl apply
INFO: Started provisioning Kubernetes Pod Template from kubernetes with 1 executors  . Remaining excess workload: 0
Apr 19, 2019 8:11:38 AM hudson.slaves.NodeProvisioner$2 run
INFO: Kubernetes Pod Template provisioning successfully completed. We have now 2 co  mputer(s)
Apr 19, 2019 8:11:38 AM org.csanchez.jenkins.plugins.kubernetes.KubernetesLauncher   launch
INFO: Created Pod: k8s-csf-cctf-test-cctf-1-1-8g2p1-5tx97 in namespace cctf
Apr 19, 2019 8:11:39 AM okhttp3.internal.platform.Platform log
INFO: ALPN callback dropped: HTTP/2 is disabled. Is alpn-boot on the boot class pat  h?
Apr 19, 2019 8:11:47 AM hudson.TcpSlaveAgentListener$ConnectionHandler run
INFO: Accepted JNLP4-connect connection #1 from /192.168.1.49:53436
Apr 19, 2019 8:11:58 AM org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud pro  vision
INFO: Excess workload after pending Kubernetes agents: 1
Apr 19, 2019 8:11:58 AM org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud pro  vision
INFO: Template for label k8s-csf-cctf-test-CCTF-1-1: Kubernetes Pod Template
Apr 19, 2019 8:11:58 AM hudson.slaves.NodeProvisioner$StandardStrategyImpl apply
INFO: Started provisioning Kubernetes Pod Template from kubernetes with 1 executors  . Remaining excess workload: 0
Apr 19, 2019 8:12:08 AM hudson.slaves.NodeProvisioner$2 run
INFO: Kubernetes Pod Template provisioning successfully completed. We have now 3 co  mputer(s)
Apr 19, 2019 8:12:08 AM org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud pro  vision
INFO: Excess workload after pending Kubernetes agents: 1
Apr 19, 2019 8:12:08 AM org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud pro  vision
INFO: Template for label k8s-csf-cctf-test-CCTF-2-1: Kubernetes Pod Template
Apr 19, 2019 8:12:08 AM org.csanchez.jenkins.plugins.kubernetes.KubernetesLauncher   launch
IN

[JIRA] (JENKINS-56889) Kubernetes creates too many slaves

2019-04-04 Thread raf.nijsk...@wdc.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Raf Nijskens created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-56889  
 
 
  Kubernetes creates too many slaves   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Carlos Sanchez  
 
 
Components: 
 kubernetes-plugin  
 
 
Created: 
 2019-04-04 20:41  
 
 
Environment: 
 Jenkins LTS 2.164.1  Kubernetes plugin 1.14.9  
 
 
Priority: 
  Major  
 
 
Reporter: 
 Raf Nijskens  
 

  
 
 
 
 

 
 The kubernetes plugin creates multiple containers for each job in queue. Second to wait for pod to be running is set to 600, but seems to be ignored. 

 

INFO: Started provisioning Kubernetes Pod Template from kubernetes with 1 executors. Remaining excess workload: 0
Apr 04, 2019 5:46:50 PM hudson.slaves.NodeProvisioner$2 run
INFO: Kubernetes Pod Template provisioning successfully completed. We have now 2 computer(s)
Apr 04, 2019 5:46:50 PM org.csanchez.jenkins.plugins.kubernetes.KubernetesLauncher launch
INFO: Created Pod: kube-molecule-489gg in namespace jenkins-test
Apr 04, 2019 5:47:00 PM org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud provision
INFO: Excess workload after pending Kubernetes agents: 1
Apr 04, 2019 5:47:00 PM org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud provision
INFO: Template for label kube-molecule-pod: Kubernetes Pod Template
Apr 04, 2019 5:47:00 PM hudson.slaves.NodeProvisioner$StandardStrategyImpl apply
INFO: Started provisioning Kubernetes Pod Template from kubernetes with 1 executors. Remaining excess workload: 0
Apr 04, 2019 5:47:02 PM hudson.TcpSlaveAgentListener$ConnectionHandler run
WARNING: Connection #1379 failed
java.io.EOFException
at java.io.DataInputStream.readFully(DataInputStream.java:197)
at java.io.DataInputStream.readFull