Forbidden!Configured service account doesn't have access. Service account may have been revoked. User "system:serviceaccount:default:default" cannot get services in the namespace "mycomp-services-process"

 

https://stackoverflow.com/questions/47973570/kubernetes-log-user-systemserviceaccountdefaultdefault-cannot-get-services

 

https://stackoverflow.com/questions/53908848/kubernetes-pods-nodes-is-forbidden

 

主要是gitlab没有获取service或者pod之类的权限 大家新建一条权限规则就行 连接里面有详细描述

注意看错误 是service还是pods 然后给与不同resource权限

Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐