helm-charts
helm-charts copied to clipboard
Unable to install Jenkins if k8s >= v1.25.0
Describe the bug
When installing Jenkins with Helm, if Kubernetes version >= v1.25.0, the following DNS resolving issue happens. It does not happen until Kubernetes version v1.24.6 I tried the recently released v1.25.2, but it still did not fix this issue. I even checked this workaround, but unfortunately it did not help neither.
Version of Helm and Kubernetes
- Helm: v3.9.4
- Kubernetes: v1.25.2
Chart version
jenkins-4.2.6
What happened?
1. You should just install Jenkins Helm chart normally
What you expected to happen?
kubectl logs jenkins-0 -c init
disable Setup Wizard download plugins File containing list of plugins to be downloaded: /var/jenkins_home/plugins.txt Reading in plugins from /var/jenkins_home/plugins.txt
No directory to download plugins entered. Will use default of /usr/share/jenkins/ref/plugins Using update center https://updates.jenkins.io/update-center.json from JENKINS_UC environment variable Using experimental update center https://updates.jenkins.io/experimental/update-center.json from JENKINS_UC_EXPERIMENTAL environment variable Using incrementals mirror https://repo.jenkins-ci.org/incrementals from JENKINS_INCREMENTALS_REPO_MIRROR environment variable No CLI option or environment variable set for plugin info, using default of https://updates.jenkins.io/plugin-versions.json Will use war file: /usr/share/jenkins/jenkins.war
Retrieving update center information Update center URL: https://updates.jenkins.io/update-center.json?version=2.371 Cache miss for: update-center-2.371
... (the init container was stuck here and created no more logs)
How to reproduce it
helm install jenkins jenkins/jenkins
Anything else we need to know?
No response