Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kube-apiserver怎么访问 #30

Open
Chenwei09 opened this issue Mar 7, 2018 · 2 comments
Open

kube-apiserver怎么访问 #30

Chenwei09 opened this issue Mar 7, 2018 · 2 comments

Comments

@Chenwei09
Copy link

Chenwei09 commented Mar 7, 2018

通过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

@bnnd
Copy link

bnnd commented Mar 9, 2018

一样怎么回事呢

@TimothyYe
Copy link
Contributor

新版K8S引入了RBAC机制,参考:kubernetes/kubernetes#44894

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants