kubekit icon indicating copy to clipboard operation
kubekit copied to clipboard

kube-apiserver怎么访问

Open Chenwei09 opened this issue 6 years ago • 2 comments

通过https://10.2.21.196:6443/api/v1/pods返回{ "kind": "Status", "apiVersion": "v1", "metadata": {

}, "status": "Failure", "message": "pods is forbidden: User "system:anonymous" cannot list pods at the cluster scope", "reason": "Forbidden", "details": { "kind": "pods" }, "code": 403 },这个怎么解决啊和怎么开启不安全端口8080

Chenwei09 avatar Mar 07 '18 06:03 Chenwei09

一样怎么回事呢

bnnd avatar Mar 09 '18 13:03 bnnd

新版K8S引入了RBAC机制,参考:https://github.com/kubernetes/kubernetes/issues/44894

TimothyYe avatar Mar 29 '18 14:03 TimothyYe