-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
Behavior seen with kubernetes plugin 1.14.6
tested on Jenkins vers 2.150.2 and 2.150.3
the service is running on an ubuntu 16.04 machine
Recently upgraded from kubernetes plugin 1.14.3 -> 1.14.8, so not sure which version the change was introduced.
Tested and found that this behavior was introduced with 1.14.6
Seeing an overeagerness with node provisioning with k8s nodes. Happens most often when there are already existing k8s nodes jobs running
to repro
- Create 3-4 jobs running with a k8s node label. I just used sleep 600 in my build
- start one of the jobs
- while that build is running, start the other jobs
- observe that more nodes will spin up than necessary and so some will sit idle before being terminated
- observe in /var/logs/jenkins/jenkins.log messages like this, negative workload:
// INFO: Started provisioning Kubernetes Pod Template from kubernetes with 1 executors. Remaining excess workload: -0.183
- duplicates
-
JENKINS-56347 Kubernetes plugin provisioning pods twice in 1.14.6
-
- Resolved
-