Hi,
I am using helm charts to install jenkins in kubernetes pod and getting an error “Back-off restarting failed container”. This was working till yeasterday, no modification done. How to make sure that ImageID/ContainerID generates to solve this pod issue ?
Take a look at the logs for that pod. Also describe that pod. Both should give you more info.
yes, it is because of plugins . I have removed plugins from chart (template) and re-added… now it is working fine.
facing same issue, any one have any solution for this
Normal Pulled 77s kubelet Successfully pulled image “docker.io/jenkins/jenkins:2.452.1-jdk17” in 1.46s (1.46s including waiting). Image size: 282550266 bytes.
Normal Pulling 50s (x4 over 93s) kubelet Pulling image “docker.io/jenkins/jenkins:2.452.1-jdk17”
Normal Created 49s (x4 over 92s) kubelet Created container init
Normal Started 49s (x4 over 91s) kubelet Started container init
Normal Pulled 49s kubelet Successfully pulled image
Warning BackOff 24s (x6 over 89s) kubelet Back-off restarting failed container init in pod jenkins-0_jenkins(471f6d1a-46ad-421a-9158-040a28ef3056)
I was also facing the issue.I checked the init container logs & it showed there are some issues with the plugins present in my helm values.yaml.I updated one problem causing plugin version as per the init container logs & the jenkins started properly
Yes.This helped to fix the issue.Thanks @cloudshashi