顺便再说下安装Devops插件遇到的问题

  • jenkins-casc-config 配置字典中的

jenkins.yaml jenkinsUrl 链接配置的端口是80端口 但是**[devops-jenkins](https://tkegui.zhumengdao.com/consolev3/clusters/host/projects/kubesphere-devops-system/services/devops-jenkins) 服务是30180,这里把**jenkins-casc-config中的配置更新下就好了

jenkinsUrl: "http://devops-jenkins.kubesphere-devops-system:30180"

  • 第二个是打开Devops页面空白,F12查看出现报错,查看论坛帖子有相关解决方案

ks-console 版本更新至 4.1.2

目前卡在devops打开后啥都没有,无法创建devops项目

可以看到devops扩展插在4.1版本还是有一些问题的,希望项目组加油,能及时修好

    system-workspace 里面不能创建, 得自己新建一个企业空间

    + envsubst + kubectl apply -f - Error from server (Forbidden): error when retrieving current configuration of: Resource: “apps/v1, Resource=deployments”, GroupVersionKind: “apps/v1, Kind=Deployment” Name: “test”, Namespace: “paas” from server for: “STDIN”: deployments.apps “test” is forbidden: User “system:serviceaccount:kubesphere-devops-worker:default” cannot get resource “deployments” in API group “apps” in the namespace “paas”: RBAC: clusterrole.rbac.authorization.k8s.io “ks-installer” not found Error from server (Forbidden): error when retrieving current configuration of: Resource: “/v1, Resource=services”, GroupVersionKind: “/v1, Kind=Service” Name: “test”, Namespace: “paas” from server for: “STDIN”: services “gpaas-cache” is forbidden: User “system:serviceaccount:kubesphere-devops-worker:default” cannot get resource “services” in API group "" in the namespace “paas”: RBAC: clusterrole.rbac.authorization.k8s.io “ks-installer” not found script returned exit code 1

    5 天 后

    mosatu

    1. 配置字典 jenkins-casc-config 中的 jenkinsUrl 默认就行,不用改;
    2. KubeSphere 4.1.2 已经发布了,解决了此问题;
    • cici 回复了此帖
      21 天 后
      4 个月 后

      yudong User “system:serviceaccount:kubesphere-devops-worker:default” cannot get resource “deployments” in API group “apps” in the namespace “paas”

      权限怎么处理

        商业产品与合作咨询