Welcome to the Linux Foundation Forum!

Section1 - Running Jenkins on Kubernetes: adapt the YAML values file

Hello,

as I have already a Jenkins instance running on minikube and accessible through my my local minikube IP address on port 8080 I would like to modify the value YAML to test the installation with helm on the same minikube cluster. Despite adding an entry in /etc/hosts I encounter troubles. In order to understand and troubleshot it, I would like to use the port 8181 for the jenkins-0 pod and for the ingress controller. I do not find clear example to do so...
Is anyone can indicate me how to modify the YAML values file?

Thanks

Béatrice

Answers

  • Hi Béatrice,

    Just to be sure what you are asking is the following: do you want to change the Jenkins port number from 8080 to 8181 because you already are using 8080, right? And you want to use it with Helm.

    If that's the case, you need to modify the jenkins-values.yml file with port number 8181 and use it with helm to deploy Jenkins.

    You can find the details on Chapter 2 RUNNING JENKINS ON KUBERNETES / Jenkins Installation Using the Helm Package Manager (2).

    Please confirm if that helps.

    Regards,
    Luis.

Categories

Upcoming Training