-
Bug
-
Resolution: Won't Fix
-
Minor
-
Google Kubernetes Engine Cluster
Kubernetes Version 1.12.8-gke.10
Jenkins Version 2.176.3
kubernetes-plugin Version 1.19.0
When builds are triggeres manually by the "Build Now" button, then an agent will be created, but the builds are not processed. I just get:
Started by user myuser Running as myuser Obtained Jenkinsfile from 95690226dba08354f99f1ef4adb30cf01fddee6d Running in Durability level: MAX_SURVIVABILITY [Pipeline] Start of Pipeline [Pipeline] readTrusted Obtained build/jenkins/pod.yaml from 95690226dba08354f99f1ef4adb30cf01fddee6d [Pipeline] podTemplate [Pipeline] { [Pipeline] node Still waiting to schedule task ‘dr.how-jenkins-image-develop-7-90t6s-plm5r-kt00q’ is offline
If the build was triggered by a webhook, everything works as expected.
The kubernetes plugin is configured as followed:
- Name: Kubernetes
- Kubernetes URL: https://kubernetes.default.svc.cluster.local
- Jenkins URL: http://jenkins.jenkins.svc.cluster.local:8080
- Jenkins: Tunnel: jenkins.jenkins.svc.cluster.local:50000
- Pod Retention: Never
- Max connections to Kubernetes API: 0
- Seconds to wait for pod to be running: 600