-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Use batch/v1 for fetching cronjob jobs #7465
Conversation
Welcome @neoaggelos! |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: maciaszczykm, neoaggelos The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Codecov Report
@@ Coverage Diff @@
## master #7465 +/- ##
==========================================
- Coverage 42.29% 42.27% -0.03%
==========================================
Files 220 220
Lines 12123 12123
Branches 179 179
==========================================
- Hits 5128 5125 -3
- Misses 6710 6714 +4
+ Partials 285 284 -1 |
Can we get this backported to 2.7? |
Any chance that we can get another 2.7 release soon so that we can pull in this fix? We have a few customers that have been running into this problem |
@Joseph-Goergen Sorry, we do not have enough people working on the project at the moment to be able to do backport. Our main priority is #7544 which would allow us to create new release. |
Hi @maciaszczykm , |
Few months later still the issue. |
@neoaggelos @maciaszczykm @Joseph-Goergen @bhutkovskyysos can you tell me , is the problem still relevant or has everything been fixed ? |
Hi @Gakhramanzode, looks to be resolved in https://github.com/kubernetes/dashboard/releases/tag/v3.0.0-alpha0, but there has not been any 2.7.x release that includes the fix. |
Do we have to wait for the release? If so, when do we expect it to happen ? |
2.7.0, as latest stable release, is included in many bundles and commercial products. |
@mimmus It's sad to hear that. but I wish you success and good luck |
Summary
Follow up for #7301
#7301 has fixed the cronjobs list page, but still produces an issue when opening the details of a cronjob. This is because
GetCronJobJobs()
still usesbatch/v1beta1
(which seems like it was missed in the original PR). The proposed change fixes the issue for me, and the page then opens properly.A quick grep for
BatchV1beta1()
does not point to usage of this client in other places, so this fix should be sufficient.