美文网首页
kubesphere升级3.2遇到的坑

kubesphere升级3.2遇到的坑

作者: ModernCrazy | 来源:发表于2021-11-17 12:55 被阅读0次

    升级完无法登陆

    参考:https://kubesphere.com.cn/forum/d/5922-320-ldap

    kubectl patch users <username> -p '{"spec":{"password":"YourPassword"}}' –type='merge' && kubectl annotate users <username> iam.kubesphere.io/password-encrypted-
    

    CICD无法部署至k8s

    报错hudson.remoting.ProxyException: io.kubernetes.client.openapi.ApiException: Forbidden
    参考:https://kubesphere.com.cn/forum/d/3193-30-devops

    kubectl -n kubesphere-controls-system delete cm kubeconfig-[用户名]
    kubectl -n kubesphere-system rollout restart deployment ks-controller-manager ks-apiserver
    

    CICD无法部署至k8s

    报错the export parameter, deprecated since v1.14, is no longer supported
    参考:https://github.com/kubesphere/website/issues/2096

    sh 'kubectl apply -f deploy'
    // kubernetesDeploy(configs: 'deploy/dev-ol/**', enableConfigSubstitution: true, kubeconfigId: "$KUBECONFIG_CREDENTIAL_ID")
    

    相关文章

      网友评论

          本文标题:kubesphere升级3.2遇到的坑

          本文链接:https://www.haomeiwen.com/subject/objltrtx.html