Update deploy-jenkins.md
This commit is contained in:
parent
44084f2eec
commit
6e35086dfa
|
|
@ -8,7 +8,7 @@ description: >
|
||||||
---
|
---
|
||||||
|
|
||||||
Once Jenkins Operator is up and running let's deploy actual Jenkins instance.
|
Once Jenkins Operator is up and running let's deploy actual Jenkins instance.
|
||||||
Create manifest e.g. **jenkins_instance.yaml** with following data and save it on drive.
|
Create manifest e.g. **`jenkins_instance.yaml`** with following data and save it on drive.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
apiVersion: jenkins.io/v1alpha2
|
apiVersion: jenkins.io/v1alpha2
|
||||||
|
|
@ -56,7 +56,7 @@ spec:
|
||||||
repositoryUrl: https://github.com/jenkinsci/kubernetes-operator.git
|
repositoryUrl: https://github.com/jenkinsci/kubernetes-operator.git
|
||||||
```
|
```
|
||||||
|
|
||||||
Deploy a Jenkins to K8s:
|
Deploy a Jenkins to Kubernetes:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
kubectl create -f jenkins_instance.yaml
|
kubectl create -f jenkins_instance.yaml
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue