Accessing Jenkins

The chart and images together make some secrets as the deployment is progressing to hold things such as the password to access Jenkins. The notes include a command to use to get this password from Kubernetes and display it on your Terminal:

printf $(kubectl get secret --namespace default j-jenkins -o jsonpath="{.data.jenkins-admin-password}" | base64 --decode);echo

Run that command and copy the output, as we'll need it to log in to your instance of Jenkins. The next commands tell you how to get a URL to access Jenkins. You can use those commands to get the information and open a browser to access Jenkins. If you deployed this to Minikube, you can also use Minikube to open a browser window for the relevant service:

minikube ...

Get Kubernetes for Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.