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
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 versionv1.21+
, here is the doc For lower versions we have to useapiVersion: batch/v1beta1
The latest version of Kubernetes that supportsapiVersion: batch/v1beta1
isv1.24+
, here is the doc