Add a bit of extra words to make complete sentences
This commit is contained in:
parent
9772e967bb
commit
7dd16e7e96
|
|
@ -58,31 +58,31 @@ spec:
|
||||||
repositoryUrl: https://github.com/jenkinsci/kubernetes-operator.git
|
repositoryUrl: https://github.com/jenkinsci/kubernetes-operator.git
|
||||||
```
|
```
|
||||||
|
|
||||||
Deploy Jenkins to K8s:
|
Deploy a Jenkins to K8s:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
kubectl create -f jenkins_instance.yaml
|
kubectl create -f jenkins_instance.yaml
|
||||||
```
|
```
|
||||||
Watch Jenkins instance being created:
|
Watch the Jenkins instance being created:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
kubectl get pods -w
|
kubectl get pods -w
|
||||||
```
|
```
|
||||||
|
|
||||||
Get Jenkins credentials:
|
Get the Jenkins credentials:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
kubectl get secret jenkins-operator-credentials-<cr_name> -o 'jsonpath={.data.user}' | base64 -d
|
kubectl get secret jenkins-operator-credentials-<cr_name> -o 'jsonpath={.data.user}' | base64 -d
|
||||||
kubectl get secret jenkins-operator-credentials-<cr_name> -o 'jsonpath={.data.password}' | base64 -d
|
kubectl get secret jenkins-operator-credentials-<cr_name> -o 'jsonpath={.data.password}' | base64 -d
|
||||||
```
|
```
|
||||||
|
|
||||||
Connect to Jenkins (minikube):
|
Connect to the Jenkins Operator (minikube):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
minikube service jenkins-operator-http-<cr_name> --url
|
minikube service jenkins-operator-http-<cr_name> --url
|
||||||
```
|
```
|
||||||
|
|
||||||
Connect to Jenkins (actual Kubernetes cluster):
|
Connect to the Jenkins intance (actual Kubernetes cluster):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
kubectl port-forward jenkins-<cr_name> 8080:8080
|
kubectl port-forward jenkins-<cr_name> 8080:8080
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue