Update docs
This commit is contained in:
parent
dee93c02e2
commit
060a0bddda
|
|
@ -327,7 +327,7 @@ Not implemented yet.
|
||||||
Turn on debug in **jenkins-operator** deployment:
|
Turn on debug in **jenkins-operator** deployment:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sed -i 's|REPLACE_ARGS|args: ["--debug"]|g' deploy/operator.yaml
|
sed -i 's|\(args:\).*|\1\ ["--debug"\]|' deploy/operator.yaml
|
||||||
kubectl apply -f deploy/operator.yaml
|
kubectl apply -f deploy/operator.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -343,5 +343,19 @@ Verify Jenkins master logs:
|
||||||
kubectl logs -f jenkins-master-example
|
kubectl logs -f jenkins-master-example
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Verify jenkins-operator logs:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
kubectl logs deployment/jenkins-operator
|
||||||
|
```
|
||||||
|
|
||||||
|
## Troubleshooting
|
||||||
|
|
||||||
|
Delete Jenkins master pod and wait for the new one to come up:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
kubectl delete pod jenkins-operator-example
|
||||||
|
```
|
||||||
|
|
||||||
[job-dsl]:https://github.com/jenkinsci/job-dsl-plugin
|
[job-dsl]:https://github.com/jenkinsci/job-dsl-plugin
|
||||||
[ssh-credentials]:https://github.com/jenkinsci/ssh-credentials-plugin
|
[ssh-credentials]:https://github.com/jenkinsci/ssh-credentials-plugin
|
||||||
|
|
@ -19,7 +19,7 @@ kubectl apply -f deploy/crds/virtuslab_v1alpha1_jenkins_crd.yaml
|
||||||
|
|
||||||
## Deploy jenkins-operator
|
## Deploy jenkins-operator
|
||||||
|
|
||||||
apply Service Account and RBAC roles:
|
A`pply Service Account and RBAC roles:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
kubectl apply -f deploy/service_account.yaml
|
kubectl apply -f deploy/service_account.yaml
|
||||||
|
|
@ -30,8 +30,6 @@ kubectl apply -f deploy/role_binding.yaml
|
||||||
Update container image to **virtuslab/jenkins-operator:<version>** in `deploy/operator.yaml` and deploy **jenkins-operator**:
|
Update container image to **virtuslab/jenkins-operator:<version>** in `deploy/operator.yaml` and deploy **jenkins-operator**:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sed -i 's|REPLACE_IMAGE|virtuslab/jenkins-operator:latest|g' deploy/operator.yaml
|
|
||||||
sed -i 's|REPLACE_ARGS||g' deploy/operator.yaml
|
|
||||||
kubectl apply -f deploy/operator.yaml
|
kubectl apply -f deploy/operator.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue