Open showjason opened 2 years ago
/kind support Thanks for reaching out here. There are several step you can try:
ks-jenkins
and check the exit code of Container ks-jenkins
ks-jenkins
I find that jenkin uc is not deployed, is this the reason why ks-jenkins is not ready
All Jenkins plugins are installed in the ks-jenkins container image since v3.x. So, we don't need a private uc (Jenkins update center) anymore.
/kind support Thanks for reaching out here. There are several step you can try:
Describe the Pod
ks-jenkins
and check the exit code of Containerks-jenkins
Check latest events
Check full logs of previous Pod
ks-jenkins
@JohnNiang, I did some checks as you said, but still could not get obvious error info. Here screenshots listed above is what I do, please provide some in-deep analysis or directions
I find that jenkin uc is not deployed, is this the reason why ks-jenkins is not ready
All Jenkins plugins are installed in the ks-jenkins container image since v3.x. So, we don't need a private uc (Jenkins update center) anymore.
Ok, thanks for quick reply!
Try remove liveness probe and readiness probe, then see if it can start successfully.
Try remove liveness probe and readiness probe, then see if it can start successfully.
It's working now after removing liveness probe and readiness probe. However, I am confused that http://<POD_IP>:8080/login
is only used by probes to do health check or also plays other role in jenkins.
If the latter, even though ks-jenkins is ready, http://<POD_IP>:8080/login
still refuses connection, will there be potential risk?
I guess your cluster might have a network issue.
I guess your cluster might have a network issue.
It's weird, in my cluster, every component is running well, I run curl -v http://10.244.179.7:8080/login
in my cluster and got response 200.
Anyhow, it is runing now, if any new issues I found, I will be back, and ask for support. @LinuxSuRen, thanks!
The same problem was assumed to be caused by the NTP server, but I tried to set jenkinsJavaOpts_Xms and jenkinsJavaOpts_Xmx to less than 1000M, and the problem was resolved。
OS info: CentOS Linux release 7.9.2009 (Core) , 4C/16G
Kubernetes version:
Docker version:
KubeSphere version: v3.1.1
Issue Description: After I finish KS installation offline, I enable DevOps by following the step of Enable DevOps after Installation
Here list the snapshots: clusterconfiguration ks-jenkins pod status and events: log of ks-jenkins pod Helm list I find that jenkin uc is not deployed, is this the reason why ks-jenkins is not ready Please, experts come up with some solutions or ideas!