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
In Kubernetes 1.25, the batch/v1beta1 api goes unsupported. The dashboard is still attempting to use that api to list cronjobs, and fails on 1.25 clusters.
Logs from the kubernetes dashboard pod
2022/07/21 18:47:58 [2022-07-21T18:47:58Z] Incoming HTTP/2.0 GET /api/v1/cronjob/default?itemsPerPage=10&page=1&sortBy=d%!C(MISSING)creationTimestamp request from 2600:1700:9fa:0:f842:2501:9862:86e0:
2022/07/21 18:47:58 Getting list of all cron jobs in the cluster
2022/07/21 18:47:58 [2022-07-21T18:47:58Z] Outcoming response to 2600:1700:9fa:0:f842:2501:9862:86e0 with 404 status code
What did you expect to happen?
Should use the supported api: batch/v1
How can we reproduce it (as minimally and precisely as possible)?
Attempt to view the dashboard of a 1.25 cluster. The Cron Jobs view will show a 404 error.
Anything else we need to know?
The references to "k8s.io/api/batch/v1beta1" in the code will need to be changed, like here for example.
What browsers are you seeing the problem on?
Chrome
Kubernetes Dashboard version
2.6.0
Kubernetes version
1.25
Go version
No response
Node.js version
No response
The text was updated successfully, but these errors were encountered:
What happened?
In Kubernetes 1.25, the batch/v1beta1 api goes unsupported. The dashboard is still attempting to use that api to list cronjobs, and fails on 1.25 clusters.
Logs from the kubernetes dashboard pod
What did you expect to happen?
Should use the supported api: batch/v1
How can we reproduce it (as minimally and precisely as possible)?
Attempt to view the dashboard of a 1.25 cluster. The Cron Jobs view will show a 404 error.
Anything else we need to know?
The references to
"k8s.io/api/batch/v1beta1"
in the code will need to be changed, like here for example.What browsers are you seeing the problem on?
Chrome
Kubernetes Dashboard version
2.6.0
Kubernetes version
1.25
Go version
No response
Node.js version
No response
The text was updated successfully, but these errors were encountered: