• 开发
  • 【直播分享】手把手教你搭建 KubeSphere 前后端本地开发环境

1 个月 后

kubesphere-3.2.1二次开发环境搭建,已经使用telepresence完成ks-apiserver流量代理,

但是使用console登录一直提示认证失败,使用默认的admin密码P@88w0rd

    2 个月 后
    5 个月 后

    我用的是v3.3.0的kubesphere ,但是开启telepresence 的时候报错,这个啥意思?求大佬们帮忙看下。

      起来后traffic-agent 容器一直报错

      求教各位大佬这个怎么解?

      @Jeff @Feynman 请问go build -o ks-apiserver cmd/ks-apiserver/apiserver.go的时候报错需要怎么解决?

      现在论坛没人回答问题了吗? 😅

      @Jeff 你好,请问本地启动调试代码的时候,apiserver.go跟controller-manager.go2个都需要启动吗?
      只启动apiserver.go可以吗?

      我在goland上面启动了apiserver.go,但是controller-manager.go报错了,调接口试了几个接口都返回类似

      {

          "kind": "Status",

          "apiVersion": "v1",

          "metadata": {},

          "status": "Failure",

          "message": "namespaces.resources.kubesphere.io is forbidden: User \"system:anonymous\" cannot list resource \"namespaces\" in API group \"resources.kubesphere.io\" at the cluster scope",

          "reason": "Forbidden",

          "details": {

              "group": "resources.kubesphere.io",

              "kind": "namespaces"

          },

          "code": 403

      }

      尝试了在headers中加入参数,但是并不管用

      请问这2种情况要如何处理?

      7 个月 后

      同问,我的环境是kubesphere3.3.2 allInOne安装,开启了alerting组件也不行

      15 天 后
      8 个月 后
      8 个月 后

      2.19.1拦截器是怎么用的 有教程没

      Kubernetes本地调试工具 Telepresence_安装telepresence-CSDN博客

      换了个2.12.0的可以用,登录的时候报错了

      感觉是这个文件的问题,请问这个文件的sc填啥

      the OAuth client was not found

      clients这个有关系

      authorization:
        mode: "AlwaysAllow"
      authentication:
        authenticateRateLimiterMaxTries: 5
        authenticationRateLimiterDuration: 30m0s
        maxAuthenticateRetries: 6
        multipleLogin: false
        jwtSecret: "kubesphere"
        oauthOptions:
          clients:
            - name: kubesphere
              secret: kubesphere
              redirectURIs:
                - '*'
          accessTokenMaxAge: 0
          AccessTokenInactivityTimeout: 0
      monitoring:
        endpoint: http://prometheus-k8s.kubesphere-monitoring-system.svc:9090

      zwkdhm 请问你这个kubesphere.yaml文件是怎么生成的,我遇到了个问题,代理之后登录有问题