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
{{ message }}
Repository navigation
kubectl 1.5.1 vs k8s 1.6 gives error: no kind "Deployment" is registered for version "apps/v1beta1" #42392
~/bin/kubectl-1.5.1 edit deployment.extensions -n kube-system dns-controller does work
I don't know if this portends some other areas of incompatibility (get deployments works though). If not though, then if this is fixed in kubectl 1.6, then a release-note or similar to encourage people to upgrade kubectl seems like a reasonable fix (though we should then make sure that kubectl 1.6 works with older clusters!). Thanks @liggitt !
Additionally k8s 1.6 will (hopefully) get the move where Deployments are additionally available under apps/v1beta1. Only newer kubectl like @liggitt mentioned will be able to handle this properly.
Activity
liggitt commentedon Mar 2, 2017
prior to 1.6, kubectl cannot edit unknown kinds (fixed in #41304)
you should be able to edit the deployment in the extensions group like
~/bin/kubectl-1.5.1 edit deployment.extensions -n kube-system dns-controllerliggitt commentedon Mar 2, 2017
@kubernetes/sig-cli-bugs
justinsb commentedon Mar 2, 2017
~/bin/kubectl-1.5.1 edit deployment.extensions -n kube-system dns-controllerdoes workI don't know if this portends some other areas of incompatibility (
get deploymentsworks though). If not though, then if this is fixed in kubectl 1.6, then a release-note or similar to encourage people to upgrade kubectl seems like a reasonable fix (though we should then make sure that kubectl 1.6 works with older clusters!). Thanks @liggitt !liggitt commentedon Mar 2, 2017
kubectl getwas converted to read objects from the server in unstructured form beforeeditandapplywere. The linked PR has release notes in it.0xmichalis commentedon Mar 3, 2017
@soltysh
soltysh commentedon Mar 3, 2017
Additionally k8s 1.6 will (hopefully) get the move where Deployments are additionally available under
apps/v1beta1. Only newerkubectllike @liggitt mentioned will be able to handle this properly.pwittrock commentedon Mar 5, 2017
@justinsb What is the bug to be fixed for 1.6?
justinsb commentedon Mar 5, 2017
@pwittrock not sure of the procedure in terms of tagging, but:
~/bin/kubectl-1.5.1 edit deployment -n kube-system dns-controllerdoes not work against 1.6 clusters, did work against 1.5 clusters.pwittrock commentedon Mar 5, 2017
@janetkuo Is this due to the Deployment version changing?
pwittrock commentedon Mar 5, 2017
#41656 is similar
40 remaining items
Merge pull request #43553 from liggitt/discovery-order
Remove the breaking change that's fixed
Remove the breaking change that's fixed
Merge pull request kubernetes#43553 from liggitt/discovery-order