创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。
发帖前请点击 发表主题 右边的 预览(👀) 按钮,确保帖子格式正确。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。
操作系统信息
阿里云服务器,Centos7.8,4C/8G
Kubernetes版本信息
GitVersion:“v1.21.13”。多节点。
容器运行时
使用 docker/containerd 20.10.10
KubeSphere版本信息
KubeSphere 版本 : v3.2.1
操作步骤:
1、创建devops项目
2、编辑jenkins pipeline
3、修改daemon.json文件,重启docker服务
4、再次进入后台报WebSocket connection to 'ws://x.x.x.x:30880/apis/devops.kubesphere.io/v1alpha3/watch/devops/demo-devopskq4mm/devopsprojects?labelSelector=kubesphere.io/workspace=demo-workspace' failed:
5、流水线也无法删除
6、进入流水线界面报 **Get "http://devops-jenkins.kubesphere-devops-system/crumbIssuer/api/json/api/json": dial tcp 10.96.57.169:80: connect: connection refused**
报错:
Internal Server Error
Get “http://devops-jenkins.kubesphere-devops-system/crumbIssuer/api/json/api/json”: dial tcp 10.96.57.169:80: connect: connection refused
socket error: EventisTrusted: truebubbles: falsecancelBubble: falsecancelable: falsecomposed: falsecurrentTarget: WebSocket {url: ‘ws://101.201.154.137:30880/apis/devops.kubesphere.…elSelector=kubesphere.io/workspace=demo-workspace’, readyState: 3, bufferedAmount: 0, onopen: ƒ, onerror: ƒ, …}defaultPrevented: falseeventPhase: 0path: []returnValue: truesrcElement: WebSocket {url: ‘ws://101.201.154.137:30880/apis/devops.kubesphere.…elSelector=kubesphere.io/workspace=demo-workspace’, readyState: 3, bufferedAmount: 0, onopen: ƒ, onerror: ƒ, …}target: WebSocket {url: ‘ws://101.201.154.137:30880/apis/devops.kubesphere.…elSelector=kubesphere.io/workspace=demo-workspace’, readyState: 3, bufferedAmount: 0, onopen: ƒ, onerror: ƒ, …}timeStamp: 4942.399999856949type: “error”[[Prototype]]: Event
client.onerror @ main.ea284c62cf0c3cd68d14.js:120
main.ea284c62cf0c3cd68d14.js:120 WebSocket connection to ‘ws://101.201.154.137:30880/apis/devops.kubesphere.io/v1alpha3/watch/devops/demo-devopskq4mm/devopsprojects?labelSelector=kubesphere.io/workspace=demo-workspace’ failed: