- 已编辑
创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。
发帖前请点击 发表主题 右边的 预览() 按钮,确保帖子格式正确。
操作系统信息
CentOS Linux release 7.9 2009 VMware vSphere 平台虚拟机共10台
Kubernetes版本信息
kubeadm-1.24.9 kubelet-1.24.9 kubectl-1.24.9
容器运行时:
[root@k8s-master-1 ~]# docker info
Client:
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.10.4
Path: /usr/libexec/docker/cli-plugins/docker-buildx
compose: Docker Compose (Docker Inc.)
Version: v2.17.2
Path: /usr/libexec/docker/cli-plugins/docker-compose
Server:
Containers: 66
Running: 64
Paused: 0
Stopped: 2
Images: 20
Server Version: 23.0.3
Storage Driver: overlay2
Backing Filesystem: xfs
Supports d_type: true
Using metacopy: false
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: systemd
Cgroup Version: 1
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 2806fc1057397dbaeefbea0e4e17bddfbd388f38
runc version: v1.1.5-0-gf19387a
init version: de40ad0
Security Options:
seccomp
Profile: builtin
Kernel Version: 5.4.240-1.el7.elrepo.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 7.765GiB
Name: k8s-master-1
ID: AITN:IRZT:ILCE:AWDD:GXQR:QN2U:O2I5:5MCO:33R4:YOBR:2MJA:R57W
Docker Root Dir: /var/lib/docker
Debug Mode: false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
k8s-harbor
172.28.1.15
127.0.0.0/8
Registry Mirrors:
https://yfy72ccb.mirror.aliyuncs.com/
Live Restore Enabled: true
WARNING: bridge-nf-call-ip6tables is disabled
KubeSphere版本信息
**KubeSphere版本:**v3.3.1 ,已有K8s在线安装
问题如下:
在执行cluster-configuration.yaml后,发现devops-jenkins安装失败,且KubeSphere WEB页面也无法连接:
请各位大佬帮我看看是什么问题,麻烦各位有经验的前辈提供一下排错的思路,我已经弄了三天了,还是卡在这里,无法登录WEB页面,无法安装成功,用KK也安装过,也是一样的情况,我的存储是用的NFS,不知道跟这个有不有关系,麻烦各位前辈帮我看看,谢谢各位!!!
查看pod日志信息:
kubectl logs devops-jenkins-b7f597c6c-gdqjv -n kubesphere-devops-system
[root@k8s-master-1 ~]# kubectl logs devops-jenkins-b7f597c6c-gdqjv -n kubesphere-devops-system
Defaulted container "devops-jenkins" out of: devops-jenkins, copy-default-config (init)
Picked up JAVA_TOOL_OPTIONS: -XX:MaxRAMPercentage=80 -XX:MinRAMPercentage=60 -Dhudson.slaves.NodeProvisioner.initialDelay=20 -Dhudson.slaves.NodeProvisioner.MARGIN=50 -Dhudson.slaves.NodeProvisioner.MARGIN0=0.85 -Dhudson.model.LoadStatistics.clock=5000 -Dhudson.model.LoadStatistics.decay=0.2 -Dhudson.slaves.NodeProvisioner.recurrencePeriod=5000 -Dhudson.security.csrf.DefaultCrumbIssuer.EXCLUDE_SESSION_ID=true -Dio.jenkins.plugins.casc.ConfigurationAsCode.initialDelay=10000 -Djenkins.install.runSetupWizard=false -XX:+AlwaysPreTouch -XX:+HeapDumpOnOutOfMemoryError -XX:+UseG1GC -XX:+UseStringDeduplication -XX:+ParallelRefProcEnabled -XX:+DisableExplicitGC -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
Running from: /usr/share/jenkins/jenkins.war
webroot: EnvVars.masterEnvVars.get("JENKINS_HOME")
2023-04-20 08:37:24.493+0000 [id=1] INFO org.eclipse.jetty.util.log.Log#initialized: Logging initialized @299ms to org.eclipse.jetty.util.log.JavaUtilLog
2023-04-20 08:37:24.569+0000 [id=1] INFO winstone.Logger#logInternal: Beginning extraction from war file
2023-04-20 08:37:24.598+0000 [id=1] WARNING o.e.j.s.handler.ContextHandler#setContextPath: Empty contextPath
2023-04-20 08:37:24.653+0000 [id=1] INFO org.eclipse.jetty.server.Server#doStart: jetty-9.4.43.v20210629; built: 2021-06-30T11:07:22.254Z; git: 526006ecfa3af7f1a27ef3a288e2bef7ea9dd7e8; jvm 11.0.14.1+1
2023-04-20 08:37:25.034+0000 [id=1] INFO o.e.j.w.StandardDescriptorProcessor#visitServlet: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
2023-04-20 08:37:25.074+0000 [id=1] INFO o.e.j.s.s.DefaultSessionIdManager#doStart: DefaultSessionIdManager workerName=node0
2023-04-20 08:37:25.074+0000 [id=1] INFO o.e.j.s.s.DefaultSessionIdManager#doStart: No SessionScavenger set, using defaults
2023-04-20 08:37:25.075+0000 [id=1] INFO o.e.j.server.session.HouseKeeper#startScavenging: node0 Scavenging every 600000ms
2023-04-20 08:37:25.556+0000 [id=1] INFO hudson.WebAppMain#contextInitialized: Jenkins home directory: /var/jenkins_home found at: EnvVars.masterEnvVars.get("JENKINS_HOME")
2023-04-20 08:37:25.719+0000 [id=1] INFO o.e.j.s.handler.ContextHandler#doStart: Started w.@70d8de{Jenkins v2.319.1,/,file:///var/jenkins_home/war/,AVAILABLE}{/var/jenkins_home/war}
2023-04-20 08:37:25.748+0000 [id=1] INFO o.e.j.server.AbstractConnector#doStart: Started ServerConnector@9597028{HTTP/1.1, (http/1.1)}{0.0.0.0:8080}
2023-04-20 08:37:25.748+0000 [id=1] INFO org.eclipse.jetty.server.Server#doStart: Started @1556ms
2023-04-20 08:37:25.749+0000 [id=24] INFO winstone.Logger#logInternal: Winstone Servlet Engine running: controlPort=disabled
2023-04-20 08:37:26.004+0000 [id=31] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
2023-04-20 08:37:28.493+0000 [id=35] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$2 (file:/var/jenkins_home/war/WEB-INF/lib/guice-4.0.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$2
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2023-04-20 08:37:36.097+0000 [id=32] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
2023-04-20 08:37:37.521+0000 [id=35] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
2023-04-20 08:37:37.539+0000 [id=30] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
2023-04-20 08:37:37.666+0000 [id=35] INFO jenkins.model.Jenkins#setBuildsAndWorkspacesDir: Using non default workspaces directories: ${JENKINS_HOME}/workspace/${ITEM_FULLNAME}.
2023-04-20 08:37:37.684+0000 [id=35] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
2023-04-20 08:37:38.010+0000 [id=30] WARNING i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class org.csanchez.jenkins.plugins.kubernetes.PodTemplate#listener: type is abstract but not Describable.
2023-04-20 08:37:38.026+0000 [id=30] WARNING i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class org.csanchez.jenkins.plugins.kubernetes.PodTemplate#listener: type is abstract but not Describable.
2023-04-20 08:37:38.033+0000 [id=30] WARNING i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class org.csanchez.jenkins.plugins.kubernetes.PodTemplate#listener: type is abstract but not Describable.
2023-04-20 08:37:38.039+0000 [id=30] WARNING i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class org.csanchez.jenkins.plugins.kubernetes.PodTemplate#listener: type is abstract but not Describable.
2023-04-20 08:37:38.041+0000 [id=30] WARNING i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class org.csanchez.jenkins.plugins.kubernetes.PodTemplate#listener: type is abstract but not Describable.
2023-04-20 08:37:38.047+0000 [id=30] WARNING i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class org.csanchez.jenkins.plugins.kubernetes.PodTemplate#listener: type is abstract but not Describable.
2023-04-20 08:37:38.049+0000 [id=30] WARNING i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class org.csanchez.jenkins.plugins.kubernetes.PodTemplate#listener: type is abstract but not Describable.
2023-04-20 08:37:38.060+0000 [id=30] WARNING i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class org.csanchez.jenkins.plugins.kubernetes.PodTemplate#listener: type is abstract but not Describable.
2023-04-20 08:37:38.062+0000 [id=30] WARNING i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class org.csanchez.jenkins.plugins.kubernetes.PodTemplate#listener: type is abstract but not Describable.
2023-04-20 08:37:38.543+0000 [id=30] WARNING i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class org.csanchez.jenkins.plugins.kubernetes.PodTemplate#listener: type is abstract but not Describable.
2023-04-20 08:37:38.548+0000 [id=30] WARNING i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class org.csanchez.jenkins.plugins.kubernetes.PodTemplate#listener: type is abstract but not Describable.
2023-04-20 08:37:38.554+0000 [id=30] WARNING i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class org.csanchez.jenkins.plugins.kubernetes.PodTemplate#listener: type is abstract but not Describable.
2023-04-20 08:37:38.559+0000 [id=30] WARNING i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class org.csanchez.jenkins.plugins.kubernetes.PodTemplate#listener: type is abstract but not Describable.
2023-04-20 08:37:38.561+0000 [id=30] WARNING i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class org.csanchez.jenkins.plugins.kubernetes.PodTemplate#listener: type is abstract but not Describable.
2023-04-20 08:37:38.566+0000 [id=30] WARNING i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class org.csanchez.jenkins.plugins.kubernetes.PodTemplate#listener: type is abstract but not Describable.
2023-04-20 08:37:38.568+0000 [id=30] WARNING i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class org.csanchez.jenkins.plugins.kubernetes.PodTemplate#listener: type is abstract but not Describable.
2023-04-20 08:37:38.571+0000 [id=30] WARNING i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class org.csanchez.jenkins.plugins.kubernetes.PodTemplate#listener: type is abstract but not Describable.
2023-04-20 08:37:38.573+0000 [id=30] WARNING i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class org.csanchez.jenkins.plugins.kubernetes.PodTemplate#listener: type is abstract but not Describable.
2023-04-20 08:37:38.594+0000 [id=30] INFO o.a.l.DefaultInitialDirContextFactory#setProviderUrl: URL 'ldap://openldap.kubesphere-system.svc:389/dc=kubesphere,dc=io', root DN is 'dc=kubesphere,dc=io'
2023-04-20 08:37:38.972+0000 [id=30] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
2023-04-20 08:37:38.973+0000 [id=35] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
2023-04-20 08:37:38.973+0000 [id=31] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
2023-04-20 08:37:38.973+0000 [id=55] INFO c.c.s.QuickDiskUsagePlugin$3#run: Waiting for Jenkins to be up before computing disk usage
2023-04-20 08:37:38.975+0000 [id=57] INFO hudson.model.AsyncPeriodicWork#lambda$doRun$1: Started Download metadata
2023-04-20 08:37:38.979+0000 [id=31] INFO j.util.groovy.GroovyHookScript#execute: Executing bundled script: file:/var/jenkins_home/war/WEB-INF/init.groovy.d/remove-bundle-plugins.groovy.bak
2023-04-20 08:37:38.994+0000 [id=57] INFO hudson.model.AsyncPeriodicWork#lambda$doRun$1: Finished Download metadata. 18 ms
2023-04-20 08:37:39.330+0000 [id=31] INFO j.util.groovy.GroovyHookScript#execute: Executing /var/jenkins_home/init.groovy.d/initK8sCredentials.groovy
2023-04-20 08:37:39.460+0000 [id=31] INFO j.util.groovy.GroovyHookScript#execute: Executing /var/jenkins_home/init.groovy.d/initMailer.groovy
2023-04-20 08:37:39.781+0000 [id=31] INFO j.util.groovy.GroovyHookScript#execute: Executing /var/jenkins_home/init.groovy.d/initRBAC.groovy
Role based authorisation already enabled.
Exiting script...
2023-04-20 08:37:40.069+0000 [id=31] INFO j.util.groovy.GroovyHookScript#execute: Executing /var/jenkins_home/init.groovy.d/initSonarqube.groovy
--> SonarQube Disabled
2023-04-20 08:37:40.184+0000 [id=31] INFO j.util.groovy.GroovyHookScript#execute: Executing /var/jenkins_home/init.groovy.d/initUsers.groovy
2023-04-20 08:37:40.273+0000 [id=36] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
2023-04-20 08:37:40.299+0000 [id=23] INFO hudson.WebAppMain$3#run: Jenkins is fully up and running
Jenkins not ready when handle init config...
Jenkins init ready...
cert init thread done
集群状态:
[root@k8s-master-1 ~]# kubectl get po -n kubesphere-system
NAME READY STATUS RESTARTS AGE
ks-installer-5864646f4b-fhq9x 1/1 Running 0 55m
minio-68df76c95f-qphjr 1/1 Running 0 74m
openldap-0 1/1 Running 1 (74m ago) 74m
redis-ha-haproxy-6768b886c5-qjzlv 1/1 Running 0 74m
redis-ha-haproxy-6768b886c5-rgc5c 1/1 Running 0 74m
redis-ha-haproxy-6768b886c5-w9r5t 1/1 Running 0 74m
redis-ha-server-0 2/2 Running 0 74m
redis-ha-server-1 2/2 Running 0 74m
redis-ha-server-2 2/2 Running 0 74m
当前命名空间 events
[root@k8s-master-1 ~]# kubectl get events -n kubesphere-devops-system
LAST SEEN TYPE REASON OBJECT MESSAGE
83m Normal Scheduled pod/devops-28032930-qnq4w Successfully assigned kubesphere-devops-system/devops-28032930-qnq4w to k8s-node-3
83m Normal Pulled pod/devops-28032930-qnq4w Container image "kubesphere/devops-tools:v3.3.1" already present on machine
83m Normal Created pod/devops-28032930-qnq4w Created container pipeline-run-gc
83m Normal Started pod/devops-28032930-qnq4w Started container pipeline-run-gc
83m Normal SuccessfulCreate job/devops-28032930 Created pod: devops-28032930-qnq4w
83m Normal Completed job/devops-28032930 Job completed
53m Normal Scheduled pod/devops-28032960-2zwr2 Successfully assigned kubesphere-devops-system/devops-28032960-2zwr2 to k8s-node-2
53m Normal Pulled pod/devops-28032960-2zwr2 Container image "kubesphere/devops-tools:v3.3.1" already present on machine
53m Normal Created pod/devops-28032960-2zwr2 Created container pipeline-run-gc
53m Normal Started pod/devops-28032960-2zwr2 Started container pipeline-run-gc
53m Normal SuccessfulCreate job/devops-28032960 Created pod: devops-28032960-2zwr2
53m Normal Completed job/devops-28032960 Job completed
23m Normal Scheduled pod/devops-28032990-s4thr Successfully assigned kubesphere-devops-system/devops-28032990-s4thr to k8s-node-1
23m Normal Pulling pod/devops-28032990-s4thr Pulling image "kubesphere/devops-tools:v3.3.1"
22m Normal Pulled pod/devops-28032990-s4thr Successfully pulled image "kubesphere/devops-tools:v3.3.1" in 32.692303563s
22m Normal Created pod/devops-28032990-s4thr Created container pipeline-run-gc
22m Normal Started pod/devops-28032990-s4thr Started container pipeline-run-gc
23m Normal SuccessfulCreate job/devops-28032990 Created pod: devops-28032990-s4thr
22m Normal Completed job/devops-28032990 Job completed
72m Normal Pulled pod/devops-jenkins-b7f597c6c-gdqjv Container image "kubesphere/ks-jenkins:v3.3.0-2.319.1" already present on machine
42m Warning Unhealthy pod/devops-jenkins-b7f597c6c-gdqjv Readiness probe failed: Get "http://10.224.109.79:8080/login": dial tcp 10.224.109.79:8080: connect: connection refused
2m23s Warning BackOff pod/devops-jenkins-b7f597c6c-gdqjv Back-off restarting failed container
83m Normal SuccessfulCreate cronjob/devops Created job devops-28032930
83m Normal SawCompletedJob cronjob/devops Saw completed job: devops-28032930, status: Complete
83m Normal SuccessfulDelete cronjob/devops Deleted job devops-28032840
53m Normal SuccessfulCreate cronjob/devops Created job devops-28032960
53m Normal SawCompletedJob cronjob/devops Saw completed job: devops-28032960, status: Complete
53m Normal SuccessfulDelete cronjob/devops Deleted job devops-28032870
23m Normal SuccessfulCreate cronjob/devops Created job devops-28032990
22m Normal SawCompletedJob cronjob/devops Saw completed job: devops-28032990, status: Complete
22m Normal SuccessfulDelete cronjob/devops Deleted job devops-28032900
查看此状态pod详细情况
kubectl describe pod -n kubesphere-devops-system devops-jenkins-b7f597c6c-gdqjv
[root@k8s-master-1 ~]# kubectl describe pod -n kubesphere-devops-system devops-jenkins-b7f597c6c-gdqjv
Name: devops-jenkins-b7f597c6c-gdqjv
Namespace: kubesphere-devops-system
Priority: 0
Node: k8s-node-1/172.28.1.204
Start Time: Wed, 19 Apr 2023 23:55:58 +0800
Labels: app=devops-jenkins
chart=jenkins-0.19.5
component=devops-jenkins-master
heritage=Helm
pod-template-hash=b7f597c6c
release=devops
Annotations: checksum/config: 1c4a0c782ae74d9517b361e74381813a84214a0f8aa338f8222573580454437d
cni.projectcalico.org/containerID: 09829d9e74e12427015f46559d9cb115bf66976d3d8bdc6c0f18cc85d14fc720
cni.projectcalico.org/podIP: 10.224.109.79/32
cni.projectcalico.org/podIPs: 10.224.109.79/32
Status: Running
IP: 10.224.109.79
IPs:
IP: 10.224.109.79
Controlled By: ReplicaSet/devops-jenkins-b7f597c6c
Init Containers:
copy-default-config:
Container ID: docker://c24c5d787c48026b645a060d202149369229974d4bed0d58a1ff3b474ec64b6c
Image: kubesphere/ks-jenkins:v3.3.0-2.319.1
Image ID: docker-pullable://172.28.1.15/k8s/kubesphere/ks-jenkins@sha256:5d1c99986f04812910fa0267f5893bdd18bc1f6662eb61a61260395da40b7fc8
Port: <none>
Host Port: <none>
Command:
sh
/var/jenkins_config/apply_config.sh
State: Terminated
Reason: Completed
Exit Code: 0
Started: Thu, 20 Apr 2023 12:06:53 +0800
Finished: Thu, 20 Apr 2023 12:06:53 +0800
Ready: True
Restart Count: 0
Limits:
cpu: 4
memory: 2Gi
Requests:
cpu: 2
memory: 1500Mi
Environment:
ADMIN_PASSWORD: <set to the key 'jenkins-admin-password' in secret 'devops-jenkins'> Optional: false
ADMIN_USER: <set to the key 'jenkins-admin-user' in secret 'devops-jenkins'> Optional: false
Mounts:
/usr/share/jenkins/ref/secrets/ from secrets-dir (rw)
/var/jenkins_config from jenkins-config (rw)
/var/jenkins_home from jenkins-home (rw)
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-jngj6 (ro)
Containers:
devops-jenkins:
Container ID: docker://97c7e5687e9cff189e1a6a7670f7ae121320b8fc6d942d9d91c1ab73bd76b523
Image: kubesphere/ks-jenkins:v3.3.0-2.319.1
Image ID: docker-pullable://172.28.1.15/k8s/kubesphere/ks-jenkins@sha256:5d1c99986f04812910fa0267f5893bdd18bc1f6662eb61a61260395da40b7fc8
Ports: 8080/TCP, 50000/TCP
Host Ports: 0/TCP, 0/TCP
Args:
--argumentsRealm.passwd.$(ADMIN_USER)=$(ADMIN_PASSWORD)
--argumentsRealm.roles.$(ADMIN_USER)=admin
State: Waiting
Reason: CrashLoopBackOff
Last State: Terminated
Reason: OOMKilled
Exit Code: 137
Started: Thu, 20 Apr 2023 16:37:24 +0800
Finished: Thu, 20 Apr 2023 16:40:39 +0800
Ready: False
Restart Count: 42
Limits:
cpu: 4
memory: 2Gi
Requests:
cpu: 2
memory: 1500Mi
Liveness: http-get http://:http/login delay=90s timeout=5s period=10s #success=1 #failure=12
Readiness: http-get http://:http/login delay=38s timeout=2s period=2s #success=1 #failure=12
Environment:
JAVA_TOOL_OPTIONS: -XX:MaxRAMPercentage=80 -XX:MinRAMPercentage=60 -Dhudson.slaves.NodeProvisioner.initialDelay=20 -Dhudson.slaves.NodeProvisioner.MARGIN=50 -Dhudson.slaves.NodeProvisioner.MARGIN0=0.85 -Dhudson.model.LoadStatistics.clock=5000 -Dhudson.model.LoadStatistics.decay=0.2 -Dhudson.slaves.NodeProvisioner.recurrencePeriod=5000 -Dhudson.security.csrf.DefaultCrumbIssuer.EXCLUDE_SESSION_ID=true -Dio.jenkins.plugins.casc.ConfigurationAsCode.initialDelay=10000 -Djenkins.install.runSetupWizard=false -XX:+AlwaysPreTouch -XX:+HeapDumpOnOutOfMemoryError -XX:+UseG1GC -XX:+UseStringDeduplication -XX:+ParallelRefProcEnabled -XX:+DisableExplicitGC -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
JENKINS_OPTS:
ADMIN_PASSWORD: <set to the key 'jenkins-admin-password' in secret 'devops-jenkins'> Optional: false
ADMIN_USER: <set to the key 'jenkins-admin-user' in secret 'devops-jenkins'> Optional: false
CASC_JENKINS_CONFIG: /var/jenkins_home/casc_configs/
CASC_MERGE_STRATEGY: override
com.sun.jndi.ldap.connect.timeout: 15000
com.sun.jndi.ldap.read.timeout: 60000
kubernetes.connection.timeout: 60000
kubernetes.request.timeout: 60000
EMAIL_SMTP_HOST: mail.example.com
EMAIL_SMTP_PORT: 465
EMAIL_USE_SSL: false
EMAIL_FROM_NAME: KubeSphere
EMAIL_FROM_ADDR: admin@example.com
EMAIL_FROM_PASS: P@ssw0rd
Mounts:
/usr/share/jenkins/ref/secrets/ from secrets-dir (rw)
/var/jenkins_config from jenkins-config (ro)
/var/jenkins_home from jenkins-home (rw)
/var/jenkins_home/casc_configs from casc-config (ro)
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-jngj6 (ro)
Conditions:
Type Status
Initialized True
Ready False
ContainersReady False
PodScheduled True
Volumes:
casc-config:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: jenkins-casc-config
Optional: false
jenkins-config:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: devops-jenkins
Optional: false
secrets-dir:
Type: EmptyDir (a temporary directory that shares a pod's lifetime)
Medium:
SizeLimit: <unset>
jenkins-home:
Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
ClaimName: devops-jenkins
ReadOnly: false
kube-api-access-jngj6:
Type: Projected (a volume that contains injected data from multiple sources)
TokenExpirationSeconds: 3607
ConfigMapName: kube-root-ca.crt
ConfigMapOptional: <nil>
DownwardAPI: true
QoS Class: Burstable
Node-Selectors: <none>
Tolerations: node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Pulled 61m (x35 over 4h35m) kubelet Container image "kubesphere/ks-jenkins:v3.3.0-2.319.1" already present on machine
Warning Unhealthy 31m (x10 over 4h32m) kubelet Readiness probe failed: Get "http://10.224.109.79:8080/login": dial tcp 10.224.109.79:8080: connect: connection refused
Warning BackOff 65s (x940 over 4h32m) kubelet Back-off restarting failed container