创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。如果未按模板创建问题,管理员有权关闭问题。
确保帖子格式清晰易读,用 markdown code block 语法格式化代码块。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。
操作系统信息
Linux 5.18.10-1.el7.elrepo.x86_64
Kubernetes版本信息
k8s v1.20.15
容器运行时
docker v19.03.15
KubeSphere版本信息
v3.3.1 最小化安装
问题是什么
kubesphere上无法修改资源配置,例如:
Jenkinsfile、yaml等配置文件无法修改,
创建的项目、流水线、用户等无法删除,
ks-apiserver 的日志内容如下:
W1204 10:19:03.537021 1 client_config.go:615] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.
W1204 10:19:03.541651 1 client_config.go:615] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.
W1204 10:19:03.567759 1 metricsserver.go:238] Metrics API not available.
W1204 10:19:03.568003 1 options.go:191] ks-apiserver starts without redis provided, it will use in memory cache. This may cause inconsistencies when running ks-apiserver with multiple replicas.
I1204 10:19:03.568042 1 interface.go:50] start helm repo informer
I1204 10:19:04.548956 1 apiserver.go:417] Start cache objects
I1204 10:19:07.078503 1 apiserver.go:601] Finished caching objects
I1204 10:19:07.078616 1 apiserver.go:298] Start listening on :9090
W1204 10:19:39.519652 1 clusterroles.go:117] invalid aggregation role found: cluster-admin, role-template-view-configmaps
W1204 10:19:39.519727 1 clusterroles.go:117] invalid aggregation role found: cluster-admin, role-template-manage-configmaps
W1204 10:19:39.519757 1 clusterroles.go:117] invalid aggregation role found: cluster-admin, role-template-view-secrets
W1204 10:19:39.519782 1 clusterroles.go:117] invalid aggregation role found: cluster-admin, role-template-manage-secrets
W1204 10:19:39.520123 1 clusterroles.go:117] invalid aggregation role found: cluster-admin, role-template-view-service-accounts
W1204 10:19:39.520147 1 clusterroles.go:117] invalid aggregation role found: cluster-admin, role-template-manage-service-accounts
E1204 10:20:37.536804 1 am.go:985] role.rbac.authorization.k8s.io "admin" not found
E1204 10:20:37.536871 1 am.go:217] role.rbac.authorization.k8s.io "admin" not found