Skip to content
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

Remove support for CronJob api version 'batch/v1beta1' #138

Open
DilaraOflaz opened this issue Jan 6, 2023 · 0 comments
Open

Remove support for CronJob api version 'batch/v1beta1' #138

DilaraOflaz opened this issue Jan 6, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@DilaraOflaz
Copy link
Contributor

Describe the bug
Currently Kubetools v13.9.3 support CronJob api versions 'batch/v1beta1' & 'batch/v1'
Because we force Kubernetes library to be >=21.7.0 and <25.0.0

When we will upgrade Kubernetes version to a version >=25.0.0, CronJob api versions 'batch/v1beta1' won't work anymore.
So we will have to remove the support for it in our code.

Additional context
CronJob apiVersion: batch/v1 is supported by Kubernetes version v1.21+, here is the doc
For lower versions we have to use apiVersion: batch/v1beta1
The latest version of Kubernetes that supports apiVersion: batch/v1beta1 is v1.24+, here is the doc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant