Score:0

jenkins on kubernetes, jobs are not running, how to fix that?

kr flag

When I to run any job, getting this error in jenkins logs. The job just stuck in pending state.

fully completed. We have now 2 computer(s)
2023-03-27 15:21:32.237+0000 [id=34]    WARNING j.u.ErrorLoggingScheduledThreadPoolExecutor#afterExecute: failure in task not wrapped in SafeTimerTask
java.lang.NoSuchMethodError: 'io.fabric8.kubernetes.client.Watch io.fabric8.kubernetes.client.dsl.NonNamespaceOperation.watch(java.lang.Object)'
        at org.csanchez.jenkins.plugins.kubernetes.pod.retention.Reaper.watchCloud(Reaper.java:220)
        at org.csanchez.jenkins.plugins.kubernetes.pod.retention.Reaper.watchClouds(Reaper.java:193)
        at org.csanchez.jenkins.plugins.kubernetes.pod.retention.Reaper.activate(Reaper.java:143)
        at org.csanchez.jenkins.plugins.kubernetes.pod.retention.Reaper.maybeActivate(Reaper.java:131)
        at jenkins.security.ImpersonatingScheduledExecutorService$1.run(ImpersonatingScheduledExecutorService.java:67)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:829)
2023-03-27 15:21:42.224+0000 [id=44]    INFO    hudson.slaves.NodeProvisioner#update: default-qgqbk provisioning successfully completed. We have now 3 computer(s)

The environment is minikube.

The helm chart, I installed as below.

helm upgrade --install jenkins jenkinsci/jenkins -n testing

Accessing jenkins using port-forward.

kubectl port-forward service/jenkins 8080:8080 -n testing
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.