699 B
699 B
| title | linkTitle | weight | date | description |
|---|---|---|---|---|
| Diagnostics | Diagnostics | 40 | 2021-01-18 | How to deal with Jenkins Operator problems |
Turn on debug in Jenkins Operator deployment:
sed -i 's|\(args:\).*|\1\ ["--debug"\]|' deploy/operator.yaml
kubectl apply -f deploy/operator.yaml
Watch Kubernetes events:
kubectl get events --sort-by='{.lastTimestamp}'
Verify Jenkins master logs:
kubectl logs -f jenkins-<cr_name>
Verify the jenkins-operator logs:
kubectl logs deployment/jenkins-operator
Troubleshooting
Delete the Jenkins master pod and wait for the new one to come up:
kubectl delete pod jenkins-<cr_name>