kubesphere升级3.2遇到的坑

升级完无法登陆

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

kubectl patch users  -p '{"spec":{"password":"YourPassword"}}' –type='merge' && kubectl annotate users  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遇到的坑)