Dashboard: Unable to get resource information

Created on 16 Nov 2019  路  2Comments  路  Source: kubernetes/dashboard

Environment
Installation method:no
Kubernetes version:1.16.2
Dashboard version:Dashboard V2.0-beta6
Operating system:linux 7
Node.js version ('node --version' output):no
Go version ('go version' output): no
Steps to reproduce


I have some problems, install the dashboard: v2.0.0-beta6 successfully, can enter the web page, but can't see any information, the page displays "There is nothing to display here", the alarm prompt "events is forbidden: User "system :serviceaccount:kubernetes-dashboard:default" cannot list resource "events" in API group in the namespace "default"
Before
Error
Pods is forbidden: User "system:serviceaccount:kubernetes-dashboard:default" cannot list resource "pods" in API group "" in the namespace "default"
Before
Error

Observed result

How can I configure it? My user rights are configured as follows:
apiVersion: v1
Kind: ServiceAccount
Metadata:
聽聽Labels:
聽聽聽聽K8s-app: kubernetes-dashboard
聽聽Name: dashboard-admin
聽聽Namespace: kubernetes-dashboard

apiVersion: rbac.authorization.k8s.io/v1
Kind: ClusterRoleBinding
Metadata:
聽聽Name: dashboard-admin-bind-cluster-role
聽聽Labels:
聽聽聽聽K8s-app: kubernetes-dashboard
roleRef:
聽聽apiGroup: rbac.authorization.k8s.io
聽聽Kind: ClusterRole
聽聽Name: cluster-admin
Subjects:

  • kind: ServiceAccount
    聽聽Name: dashboard-admin
    聽聽Namespace: kubernetes-dashboard
    Expected result
kinbug

All 2 comments

This is a configuration issue, not a bug. You have logged in with user that has no access to certain resources. For configuration issues try stackoverflow. We don't have time to provide support for such issues here. Also there are dozens of already closed issues related to the same thing. Check it first.

/close

@floreks: Closing this issue.

In response to this:

This is a configuration issue, not a bug. You have logged in with user that has no access to certain resources. For configuration issues try stackoverflow. We don't have time to provide support for such issues here. Also there are dozens of already closed issues related to the same thing. Check it first.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

maciaszczykm picture maciaszczykm  路  4Comments

donspaulding picture donspaulding  路  5Comments

billcloud-me picture billcloud-me  路  5Comments

andrei-dascalu picture andrei-dascalu  路  3Comments

kairen picture kairen  路  4Comments