You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kubernetes upgrade from 1.24 to 1.25 broke search and cron jobs tab under workload section, getting below errors when we click
On dashboard:
Not Found (404) the server could not find the requested resource
Unknown Error No error data available.
In dasboard deployment logs:
2024/01/26 15:02:19 received 1 resources from sidecar instead of 2
2024/01/26 15:02:19 received 1 resources from sidecar instead of 2
2024/01/26 15:02:19 received 1 resources from sidecar instead of 2
2024/01/26 15:02:19 received 1 resources from sidecar instead of 2
2024/01/26 15:02:19 Skipping metric because of error: Metric label not set.
2024/01/26 15:02:19 Skipping metric because of error: Metric label not set.
What did you expect to happen?
Display results
How can we reproduce it (as minimally and precisely as possible)?
with Dashboard v2.6.0+0.g8cf47b594 on Server Version: version.Info{Major:"1", Minor:"25+", GitVersion:"v1.25.16-eks-8cb36c9", GitCommit:"3a3ea80e673d7867f47bdfbccd4ece7cb5f4a83a", GitTreeState:"clean", BuildDate:"2023-11-22T21:53:22Z", GoVersion:"go1.20.10", Compiler:"gc", Platform:"linux/amd64"}
It is horribly documented (because supposedly is Kubernetes 1.19+ compatible), but I fixed this issue by upgrading Dashboard to 2.7.
Kubernetes 1.25 deprecates the cronjob endpoint batch/v1beta1 in favor of batch/v1, and it seems Dashboard 2.6 was using that endpoint to check all cronjobs. Things like EKS insights let you know about it, but you can also check if something is using that by using kubectl and grep.
That said, there's an ongoing issue (that keeps on 1.26 and 1.27, and hopefully it's fixed on dashboard 3.0+), see this
What happened?
Kubernetes upgrade from 1.24 to 1.25 broke search and cron jobs tab under workload section, getting below errors when we click
On dashboard:
In dasboard deployment logs:
2024/01/26 15:02:19 received 1 resources from sidecar instead of 2
2024/01/26 15:02:19 received 1 resources from sidecar instead of 2
2024/01/26 15:02:19 received 1 resources from sidecar instead of 2
2024/01/26 15:02:19 received 1 resources from sidecar instead of 2
2024/01/26 15:02:19 Skipping metric because of error: Metric label not set.
2024/01/26 15:02:19 Skipping metric because of error: Metric label not set.
What did you expect to happen?
Display results
How can we reproduce it (as minimally and precisely as possible)?
with Dashboard v2.6.0+0.g8cf47b594 on Server Version: version.Info{Major:"1", Minor:"25+", GitVersion:"v1.25.16-eks-8cb36c9", GitCommit:"3a3ea80e673d7867f47bdfbccd4ece7cb5f4a83a", GitTreeState:"clean", BuildDate:"2023-11-22T21:53:22Z", GoVersion:"go1.20.10", Compiler:"gc", Platform:"linux/amd64"}
Anything else we need to know?
No response
What browsers are you seeing the problem on?
Chrome
Kubernetes Dashboard version
Dashboard v2.6.0+0.g8cf47b594
Kubernetes version
Server Version: version.Info{Major:"1", Minor:"25+", GitVersion:"v1.25.16-eks-8cb36c9", GitCommit:"3a3ea80e673d7867f47bdfbccd4ece7cb5f4a83a", GitTreeState:"clean", BuildDate:"2023-11-22T21:53:22Z", GoVersion:"go1.20.10", Compiler:"gc", Platform:"linux/amd64"}
Dev environment
No response
The text was updated successfully, but these errors were encountered: