-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
apps/v1beta1 is not valid #3814
Conversation
Replacing it with extensions/v1beta1 which actually works
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please follow instructions at https://github.com/kubernetes/kubernetes/wiki/CLA-FAQ to sign the CLA. It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
apps/v1beta1 is correct, and newer. https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG.md#deployment-2 |
@foxish So can I close this PR? |
When was this changed? It still fails for me with this kubectl version:
Trying to create a deployment using
|
The server version needs to be 1.6 or higher for it to work. kubernetes/kubernetes#39683 added the new apps/v1beta1.Deployment which will become the default eventually and we'll deprecate extensions/v1beta1.Deployment by the year end. See kubernetes/kubernetes#43214 |
In the absence of versioned docs (as opposed to docs that reflect the latest version only), we can't make this change. cc @janetkuo @kubernetes/sig-apps-misc |
Yeah, we really need versioned docs. |
Agreed, versioned docs are essential here. In the meanwhile, could we add a note about how in previous versions the value is different? |
I think a note makes total sense! @campoy, can you modify your PR to add that? Also I think you'll need to sign the CLA. It can be similar to how the node controller specifies pre-1.5 behavior. Thanks! |
@kubernetes/sig-docs-maintainers is there any discussion somewhere re versioned docs? |
PTAL |
I am authorized to contribute, as a Google employee |
I was thinking more along specifying the constraint in the text description surrounding the YAML. @chenopis WDYT of comments inline in the YAML itself? |
Well, I don't know from how many places this specific file is embedded. |
Yeah, I like this solution. YAML comments works for me! If it's in the YAML, that note should show up if anyone copy/pastes it or if another doc uses it. If it was just in the surrounding text, it might not get noticed. Will that work for you @foxish ? |
ping |
Agree with @chenopis, lgtm |
I saw a similar fix (closed) for this earlier, which proved that this is confusing enough for a fix |
/lgtm |
…hub.io into release-1.7 * 'master' of https://github.com/kubernetes/kubernetes.github.io: Fix sentence Minor grammatical correction Remove beta as K8s support on Bluemix Container Service is live Fix some output replace REASON with STATUS column IP is missed replace kubectl.sh with kubectl replace KUBECTL with kubectl fix the command output fix the command output fix the command output Correcting the typo in init-container's name fix typo fix typo fix typo fix typo fix typo Update pod-overview.md (#3881) apps/v1beta1 is not valid (#3814) Get access to search console. (#3901)
Replacing it with extensions/v1beta1 which actually works
Found this file from this document:
https://kubernetes.io/docs/concepts/workloads/controllers/deployment/
This change is