-
Notifications
You must be signed in to change notification settings - Fork 41.6k
[FG:InPlacePodVerticalScaling] Remove restrictions on subresource flag in kubectl commands #128296
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
|
Skipping CI for Draft Pull Request. |
a5d7628 to
7312e2b
Compare
96b1c68 to
2f3957e
Compare
2f3957e to
ff404aa
Compare
c7f0959 to
44b6cf5
Compare
084f338 to
ef30edc
Compare
I removed this param.
I got this error: |
Right, the operations just attempt to operate on the subresource specified... if the subresource doesn't exist or the submitted operation isn't valid for that subresource, it'll error. |
|
/milestone v1.32 |
|
kind ping @ardaguclu @soltysh since we are a few days away from code freeze. #128266 is approved and ready to be merged. It would be good to get feedback on this PR so that the user can leverage new subresource via kubectl. |
ef30edc to
3ab2563
Compare
Removing this restrictions will allow us to use these commands with the new resize subresource.
3ab2563 to
e1ca634
Compare
|
Thank you |
|
LGTM label has been added. Git tree hash: 3c9834c7a9debbcf891f4466eaee9f0d4710f599
|
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: AnishShah, ardaguclu 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 |
|
I think it is imperative to go through the documentation and update parts where patch is mentioned for InPlacePodVerticalScaling and update examples with the new approach. I was hit by this being unaware of the change, i assume others will be as well. posted in slack this, to create awareness, try to gather feedback and accelerate the process of writing equivalents, thanks @AnishShah for letting me know. |
What type of PR is this?
/kind feature
/sig cli
What this PR does / why we need it:
We are introducing a new resize subresource in #128266. We would like to add support for this subresource in kubectl. We are doing this by removing restrictions on the
subresourceflag instead of addingresizeto the allowlist.Which issue(s) this PR fixes:
Fixes #128278
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: