Add error logs about the problem here (operator logs and Kubernetes events).
$ k get events -n jenkins
LAST SEEN TYPE REASON OBJECT MESSAGE
14m Normal LeaderElection configmap/c674355f.jenkins.io jenkins-jenkins-operator-665d5d579-x6h72_627942be-908a-438a-b9cd-6a4baafd3c1e became leader
14m Normal LeaderElection lease/c674355f.jenkins.io jenkins-jenkins-operator-665d5d579-x6h72_627942be-908a-438a-b9cd-6a4baafd3c1e became leader
15m Normal Scheduled pod/jenkins-jenkins-operator-665d5d579-x6h72 Successfully assigned jenkins/jenkins-jenkins-operator-665d5d579-x6h72 to ip-10-0-69-14.us-west-2.compute.internal
15m Normal Pulled pod/jenkins-jenkins-operator-665d5d579-x6h72 Container image "quay.io/jenkins-kubernetes-operator/operator:v0.8.0" already present on machine
15m Normal Created pod/jenkins-jenkins-operator-665d5d579-x6h72 Created container jenkins-operator
15m Normal Started pod/jenkins-jenkins-operator-665d5d579-x6h72 Started container jenkins-operator
15m Normal SuccessfulCreate replicaset/jenkins-jenkins-operator-665d5d579 Created pod: jenkins-jenkins-operator-665d5d579-x6h72
15m Normal Killing pod/jenkins-jenkins-operator-6769fc87df-9l8bb Stopping container jenkins-operator
15m Normal SuccessfulDelete replicaset/jenkins-jenkins-operator-6769fc87df Deleted pod: jenkins-jenkins-operator-6769fc87df-9l8bb
15m Normal ScalingReplicaSet deployment/jenkins-jenkins-operator Scaled up replica set jenkins-jenkins-operator-665d5d579 to 1
15m Normal ScalingReplicaSet deployment/jenkins-jenkins-operator Scaled down replica set jenkins-jenkins-operator-6769fc87df to 0 from 1
15m Warning jenkins/jenkins Reconcile loop failed 10 times with the same errors, giving up: couldn't poll data from Jenkins API, invalid status code returned: 401
4m37s Warning jenkins/jenkins Reconcile loop failed 10 times with the same errors, giving up: couldn't poll data from Jenkins API, invalid status code returned: 401
Describe the bug I deploy Jenkins operator and Jenkins instance by helm, and I got this error log in Jenkins operator pod:
To Reproduce Deploy Jenkins operator by Jenkins Helm chart 0.8.0, this is my values.yaml
Additional information
Kubernetes version:
Jenkins Operator version:
Add error logs about the problem here (operator logs and Kubernetes events).