-
Bug
-
Resolution: Not A Defect
-
Major
-
None
-
Jenkins 1.164.2, Kubernetes 1.14
I have a build that uses 9 containers, but the Pod never gets to start because it can't finish downloading in the amount of time (100 seconds) that the kubernetes plugin allows.
io.fabric8.kubernetes.client.KubernetesClientTimeoutException: Timed out waiting for [100000] milliseconds for [Pod] with name:[api-build-4f60479c-c124-4d8b-a7e6-3f27f05e163d-570px-5n191] in namespace [jenkins]. at org.csanchez.jenkins.plugins.kubernetes.AllContainersRunningPodWatcher.await(AllContainersRunningPodWatcher.java:134) at org.csanchez.jenkins.plugins.kubernetes.KubernetesLauncher.launch(KubernetesLauncher.java:128) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:294) at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) at jenkins.security.ImpersonatingExecutorService$2.call(ImpersonatingExecutorService.java:71) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) May 10, 2019 8:57:17 AM FINER org.csanchez.jenkins.plugins.kubernetes.KubernetesLauncherRemoving Jenkins node: api-build-4f60479c-c124-4d8b-a7e6-3f27f05e163d-570px-5n191 May 10, 2019 8:57:17 AM INFO org.csanchez.jenkins.plugins.kubernetes.KubernetesSlave _terminateTerminating Kubernetes instance for agent api-build-4f60479c-c124-4d8b-a7e6-3f27f05e163d-570px-5n191 May 10, 2019 8:57:17 AM FINE org.csanchez.jenkins.plugins.kubernetes.KubernetesCloudBuilding connection to Kubernetes k8s-houston URL https://api.eng.company.com:6443/ namespace jenkins May 10, 2019 8:57:17 AM FINE org.csanchez.jenkins.plugins.kubernetes.KubernetesCloudConnected to Kubernetes k8s-houston URL https://api.eng.company.com:6443/ May 10, 2019 8:57:17 AM INFO org.csanchez.jenkins.plugins.kubernetes.KubernetesSlave deleteSlavePodTerminated Kubernetes instance for agent jenkins/api-build-4f60479c-c124-4d8b-a7e6-3f27f05e163d-570px-5n191 May 10, 2019 8:57:17 AM INFO org.csanchez.jenkins.plugins.kubernetes.KubernetesSlave _terminateDisconnected computer api-build-4f60479c-c124-4d8b-a7e6-3f27f05e163d-570px-5n191
I would like to be able to set this in the settings, or at least as an argument when I start Jenkins.