问题是什么: ks 连接jenkins 经常超时,查看运行日志,半天才能刷出来,突然这样了,把相关pod重启了一遍也没管用,集群内其他的服务没事,dns解析都正常
Failed to retrieve running data from Jenkins, and error was Get “http://devops-jenkins.kubesphere-devops-system/blue/rest/organizations/jenkins/pipelines/tadpnwg4/pipelines/deploy-test/runs/127/”: context deadline exceeded (Client.Timeout exceeded while awaiting headers)
E0415 09:51:33.373864 1 controller.go:326] “msg”=“Reconciler error” “error”="Get \“http://devops-jenkins.kubesphere-devops-system/blue/rest/organizations/jenkins/pipelines/devqtdfx/pipelines/sea-tdimp-project-dev\”: context deadline exceeded (Client.Timeout exceeded while awaiting headers)" “controller”=“pipeline” “controllerGroup”=“devops.kubesphere.io” “controllerKind”=“Pipeline” “name”=“sea-tdimp-project-dev” “namespace”=“devqtdfx” “pipeline”={“name”:“sea-tdimp-project-dev”,“namespace”:“devqtdfx”} “reconcileID”=“fbfae61b-19b5-48e9-85af-b3af26872c04” E0415 09:51:37.840677 1 pipelinerun_controller.go:139] pipelinerun-controller “msg”=“unable get PipelineRun data.” “error”="Get \“http://devops-jenkins.kubesphere-devops-system/blue/rest/organizations/jenkins/pipelines/lowcode-corez4nrw/pipelines/deploy/branches/k8s/runs/12/\”: context deadline exceeded (Client.Timeout exceeded while awaiting headers)" “Pipeline”=“deploy” “PipelineRun”={“Namespace”:“lowcode-corez4nrw”,“Name”:“deploy-zc6wp”} “namespace”=“lowcode-corez4nrw” E0415 09:51:37.840803 1 controller.go:326] “msg”=“Reconciler error” “error”="Get \“http://devops-jenkins.kubesphere-devops-system/blue/rest/organizations/jenkins/pipelines/lowcode-corez4nrw/pipelines/deploy/branches/k8s/runs/12/\”: context deadline exceeded (Client.Timeout exceeded while awaiting headers)" “controller”=“pipelinerun” “controllerGroup”=“devops.kubesphere.io” “controllerKind”=“PipelineRun” “name”=“deploy-zc6wp” “namespace”=“lowcode-corez4nrw” “pipelineRun”={“name”:“deploy-zc6wp”,“namespace”:“lowcode-corez4nrw”} “reconcileID”=“6354a4d7-a844-463b-96cf-44eee2bcf917” I0415 09:51:47.839166 1 pipelinerun_controller.go:136] pipelinerun-controller “msg”=“get pipelinerun data(id: 12) error with not exit, retry.” “Pipeline”=“deploy” “PipelineRun”={“Namespace”:“lowcode-corez4nrw”,“Name”:“deploy-zc6wp”} “namespace”=“lowcode-corez4nrw” E0415 09:52:03.420695 1 pipeline_metadata_controller.go:68] pipeline-metadata-controller “msg”=“unable to obtain and update Pipeline metadata from Jenkins” “error”="Get \“http://devops-jenkins.kubesphere-devops-system/blue/rest/organizations/jenkins/pipelines/chenghaoli87fz7/pipelines/sea-tdimp-system-lich\”: context deadline exceeded (Client.Timeout exceeded while awaiting headers)" “Pipeline”={“Namespace”:“chenghaoli87fz7”,“Name”:“sea-tdimp-system-lich”} E0415 09:52:03.420845 1 controller.go:326] “msg”=“Reconciler error” “error”="Get \“http://devops-jenkins.kubesphere-devops-system/blue/rest/organizations/jenkins/pipelines/chenghaoli87fz7/pipelines/sea-tdimp-system-lich\”: context deadline exceeded (Client.Timeout exceeded while awaiting headers)" “controller”=“pipeline” “controllerGroup”=“devops.kubesphere.io” “controllerKind”=“Pipeline” “name”=“sea-tdimp-system-lich” “namespace”=“chenghaoli87fz7” “pipeline”={“name”:“sea-tdimp-system-lich”,“namespace”:“chenghaoli87fz7”} “reconcileID”=“870a97c0-e22a-4a6a-85f7-be9f179c5a69” E0415 09:52:07.840299 1 pipelinerun_controller.go:139] pipelinerun-controller “msg”=“unable get PipelineRun data.” “error”="Get \“http://devops-jenkins.kubesphere-devops-system/blue/rest/organizations/jenkins/pipelines/lowcode-corez4nrw/pipelines/deploy/branches/k8s/runs/12/\”: context deadline exceeded (Client.Timeout exceeded while awaiting headers)" “Pipeline”=“deploy” “PipelineRun”={“Namespace”:“lowcode-corez4nrw”,“Name”:“deploy-zc6wp”} “namespace”=“lowcode-corez4nrw” E0415 09:52:07.840435 1 controller.go:326] “msg”=“Reconciler error” “error”="Get \“http://devops-jenkins.kubesphere-devops-system/blue/rest/organizations/jenkins/pipelines/lowcode-corez4nrw/pipelines/deploy/branches/k8s/runs/12/\”: context deadline exceeded (Client.Timeout exceeded while awaiting headers)" “controller”=“pipelinerun” “controllerGroup”=“devops.kubesphere.io” “controllerKind”=“PipelineRun” “name”=“deploy-zc6wp” “namespace”=“lowcode-corez4nrw” “pipelineRun”={“name”:“deploy-zc6wp”,“namespace”:“lowcode-corez4nrw”} “reconcileID”=“ce70495b-faea-4d45-aa77-b821e4867d2e”
一堆超时,但是jenkins服务没有问题,流水线也能正常跑