-
Notifications
You must be signed in to change notification settings - Fork 40.6k
Start deprecating all generators in run except for run-pod/v1 #68132
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
Conversation
e15b1db
to
2c4917d
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: juanvallejo, soltysh The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Automatic merge from submit-queue (batch tested with PRs 63011, 68089, 67944, 68132). If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md. |
@soltysh can we get some clarification here, it seems that 'kubectl run ' will remain, but the deprecation warning for 'kubectl run' seems to indicate that it's all going to be deprecated. I think that this is because the default for I think we should make it clear that a user can run:
|
@brendandburns the main gist is, we want the |
I've also opened #70288 to improve the deprecation warning. |
This change breaks the example in the most recent Kubernetes Up & Running in the Service Discovery section. The following command is used:
Using the
To continue along with the Kubernetes Up & Running example use this procedure:
|
see kubernetes/kubernetes#68132 Co-authored-by: Eon <[email protected]>
What this PR does / why we need it:
This was discussed during SIG-CLI meetings over several past months. The direction is that we want to move away from
kubectl run
because it's over bloated and complicated for both users and developers. We want to mimicdocker run
withkubectl run
so that it only creates a pod, and if you're interested in other resourceskubectl create
is the intended replacement.This PR starts with deprecating all of the generator except for the pod one.
/assign @juanvallejo
/sig cli
/milestone v1.12
Release note: