Home > Software design >  Installing Jenkins onminikube shows Failed to pull image "jenkins/jenkins:2.303.3-jdk11"
Installing Jenkins onminikube shows Failed to pull image "jenkins/jenkins:2.303.3-jdk11"

Time:11-10

  Type     Reason     Age                From               Message
  ----     ------     ----               ----               -------
  Normal   Scheduled  51s                default-scheduler  Successfully assigned jenkins/jenkins-0 to minikube
  Normal   BackOff    31s                kubelet, minikube  Back-off pulling image "jenkins/jenkins:2.303.3-jdk11"
  Warning  Failed     31s                kubelet, minikube  Error: ImagePullBackOff
  Normal   Pulling    17s (x2 over 47s)  kubelet, minikube  Pulling image "jenkins/jenkins:2.303.3-jdk11"
  Warning  Failed     1s (x2 over 32s)   kubelet, minikube  Failed to pull image "jenkins/jenkins:2.303.3-jdk11": rpc error: code = Unknown desc = Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
  Warning  Failed     1s (x2 over 32s)   kubelet, minikube  Error: ErrImagePull

The above error is what I am seeing, when trying to install Jenkins on a minikube cluster. I am using this link and following along: https://www.jenkins.io/doc/book/installing/kubernetes/

appreciate any ideas.

CodePudding user response:

I tried with minikube with virtualbox and that worked out of the box. But, wanted to get docker working, which I wasn't able to.

Finally, I deleted everything (even reinstalled ubuntu) and re-setup k8s cluster with latest k8s version (before i tried with --version=1.19.0 of k8s)

I used: minikube start --driver=docker. and then followed the official jenkins install with helm3, that too latest, lts –

  • Related