使用https://raw.githubusercontent.com/kubesphere/ks-installer/master/scripts/kubesphere-delete.sh
脚本卸载已有kubespere之后重新安装报错:
2020-04-16T05:54:07Z ERROR : error getting GVR for kind 'ConfigMap': unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: an error on the server ("Internal Server Error: \"/apis/metrics.k8s.io/v1beta1?timeout=32s\": subjectaccessreviews.authorization.k8s.io is forbidden: User \"system:serviceaccount:kube-system:admin\" cannot create resource \"subjectaccessreviews\" in API group \"authorization.k8s.io\" at the cluster scope") has prevented the request from succeeding
2020-04-16T05:54:07Z ERROR : Enable kube events for hooks error: unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: an error on the server ("Internal Server Error: \"/apis/metrics.k8s.io/v1beta1?timeout=32s\": subjectaccessreviews.authorization.k8s.io is forbidden: User \"system:serviceaccount:kube-system:admin\" cannot create resource \"subjectaccessreviews\" in API group \"authorization.k8s.io\" at the cluster scope") has prevented the request from succeeding
安装脚本:kubectl apply -f kubesphere-minimal.yaml