-
Notifications
You must be signed in to change notification settings - Fork 39.9k
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
kubectl edit job returns apiVersion: extensions/v1beta1 #22517
Comments
I think we should keep this on 1.2 |
|
kubectl is making the following calls
the json response from Also calling cc @janetkuo |
@dims the reason for that is that jobs co-exists in both |
"Jobs" co-exists in both extensions and batch groups for backwards compatability. While looking up apiVersion let's make sure that we have higher priority for the newer API version. Fixes Issue kubernetes#22517
@soltysh - Took a while to debug to get the bare minimum change that at least works with |
@adohe go for it! |
@adohe I'd leave it for now, since I'm closing the PR which removes |
|
Steps to reproduces:
In the editor you'll see
apiVersion: extensions/v1beta1
instead ofbatch/v1
. It does not matter if you create a job using above command or if you create one with explicit `batch/v1.@erictune
The text was updated successfully, but these errors were encountered: