mirror of
https://github.com/jenkinsci/kubernetes-operator.git
synced 2026-10-08 17:16:48 +02:00
Update docs
This commit is contained in:
+15
-1
@@ -327,7 +327,7 @@ Not implemented yet.
|
||||
Turn on debug in **jenkins-operator** deployment:
|
||||
|
||||
```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
|
||||
```
|
||||
|
||||
@@ -343,5 +343,19 @@ Verify Jenkins master logs:
|
||||
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
|
||||
[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
|
||||
|
||||
apply Service Account and RBAC roles:
|
||||
A`pply Service Account and RBAC roles:
|
||||
|
||||
```bash
|
||||
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**:
|
||||
|
||||
```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
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user