11 lines
649 B
Plaintext
11 lines
649 B
Plaintext
1. Watch Jenkins instance being created:
|
|
$ kubectl --namespace {{ .Release.Namespace }} get pods -w
|
|
|
|
2. Get Jenkins credentials:
|
|
$ kubectl --namespace {{ .Release.Namespace }} get secret jenkins-operator-credentials-{{ .Values.jenkins.name }} -o 'jsonpath={.data.user}' | base64 -d
|
|
$ kubectl --namespace {{ .Release.Namespace }} get secret jenkins-operator-credentials-{{ .Values.jenkins.name }} -o 'jsonpath={.data.password}' | base64 -d
|
|
|
|
3. Connect to Jenkins (actual Kubernetes cluster):
|
|
$ kubectl --namespace {{ .Release.Namespace }} port-forward jenkins-{{ .Values.jenkins.name }} 8080:8080
|
|
|
|
Now open the browser and enter http://localhost:8080 |