# Init container fails deploying to a kubernetes cluster using Helm

**URL:** <https://community.jenkins.io/t/init-container-fails-deploying-to-a-kubernetes-cluster-using-helm/17843>\
**Category:** Using Jenkins\
**Created:** [August 3, 2024, 8:14pm UTC](https://community.jenkins.io/t/init-container-fails-deploying-to-a-kubernetes-cluster-using-helm/17843 "2024-08-03T20:14:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![micdwise](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/micdwise/32/9448_2.png) [@micdwise](https://community.jenkins.io/u/micdwise)\
**Post date:** [August 3, 2024, 8:14pm UTC](https://community.jenkins.io/t/init-container-fails-deploying-to-a-kubernetes-cluster-using-helm/17843/1 "2024-08-03T20:14:38Z")

</div>

When attempting to deploy Jenkins in a kubernetes cluster using Helm, the init container fails with the error:

Retrieving update center information

Update center URL: [https://updates.jenkins.io/update-center.json?version=2.470](https://updates.jenkins.io/update-center.json?version=2.470)

Cache miss for: update-center-2.470

Unable to retrieve JSON from {see url above}: Received fatal alert: handshake\_failure

If I use:

initContainerEnv:  
- name: JENKINS\_UC  
value: “{http version of the url”}

I get a different error:

Retrieving update center information

Update center URL: [http://updates.jenkins.io/update-center.json?version=2.470](http://updates.jenkins.io/update-center.json?version=2.470)

Cache miss for: update-center-2.470

Unable to retrieve JSON from {see url above} status code: 409, reason phrase: Conflict

Aof yet, I’m unable to find any information that might help. I’m not behind a proxy in my homelab. Sorry about the {see url above}. I’m restricted to posting no more the two links as I’m a new user.

---

<div class="post-metadata">

**Author:** ![MarkEWaite](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/markewaite/32/20_2.png) [@MarkEWaite](https://community.jenkins.io/u/MarkEWaite)\
**Post date:** [August 3, 2024, 10:38pm UTC](https://community.jenkins.io/t/init-container-fails-deploying-to-a-kubernetes-cluster-using-helm/17843/2 "2024-08-03T22:38:14Z")

</div>

> [@micdwise](#):
>
> Update center URL: [http://updates.jenkins.io/update-center.json?version=2.470](http://updates.jenkins.io/update-center.json?version=2.470)

Is that the setting you’ve configured for the Jenkins update center in a configuration file or is that a value that you read from Jenkins while it is running?

The Jenkins update center URL in the Jenkins plugin manager configuration does not need a `version=` value and should not have one. The [Jenkins update center documentation page](https://updates.jenkins.io/#configuration) says:

> To configure this default update site in Jenkins, specify `https://updates.jenkins.io/update-center.json` in _Manage Jenkins » Plugins » Advanced_ .

---

<div class="post-metadata">

**Author:** ![micdwise](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/micdwise/32/9448_2.png) [@micdwise](https://community.jenkins.io/u/micdwise)\
**Post date:** [August 3, 2024, 11:19pm UTC](https://community.jenkins.io/t/init-container-fails-deploying-to-a-kubernetes-cluster-using-helm/17843/3 "2024-08-03T23:19:09Z")

</div>

The http url I set in the helm values file and it’s just set to [http://updates.jenkins.io](http://updates.jenkins.io). The first error with https is without setting any url in the value file. All the errors are in the init container log file during the initial installation. I’m not sure where it’s picking up the `version=` in the url. This is all I have set in my helm value file when I receive the https handshake error.

controller:  
image:  
tag: jdk21  
initializeOnce: true  
persistence:  
enabled: true
