Troubleshooting Kubernetes dashboard issues

Unified Compute Platform (UCP) Advisor Administration Guide

Version
4.6.x
Audience
anonymous
Part Number
MK-92UCP119-15
ft:lastEdition
2024-09-24

Use the following guidelines and suggested steps to help resolve Kubernetes dashboard issues.

Condition:
The Kubernetes dashboard displays the following error:
Unauthorized (401): You have been logged out because your token has expired.
What it Means:
The Kubernetes dashboard is idle for 15 minutes.
Corrective Action:
Relaunch the Kubernetes dashboard from UCP Advisor.
Condition:
The notification in the Kubernetes dashboard shows forbidden error. For example:
roles.rbac.authorization.k8s.io is forbidden: User "system:serviceaccount:ucp:ucpadvisor-k8s-dashboard-view" cannot list resource "roles" in API group "rbac.authorization.k8s.io" in the namespace "ucp"
What it Means:
The view is restricted from the read-only Kubernetes dashboard.
Corrective Action:
No action is required as the Kubernetes dashboard is designed to be accessed in the read-only mode.
Condition:
The Kubernetes dashboard displays the following message for certain views:
There is nothing to display here. No resources found.
What it Means:
The Kubernetes dashboard does not display the details for that view for the namespace other than the ucp namespace, or the view is restricted for the read-only access.
Corrective Action:
No action is required as these views are restricted.
Condition:
The Kubernetes dashboard can be accessed even after logging out from UCP Advisor.
Corrective Action:
No action is required as the Kubernetes dashboard is independent of the UCP Advisor session. To log out from the Kubernetes dashboard, click Sign out from the User icon.