Skip to content
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

chore: Remove deprecated requests/limits flags #1110

Merged

Conversation

dsimansk
Copy link
Contributor

Description

This PR removes --requests-cpu,--requests-memory,--limits-cpu,--limits-memory that should be deprecated already per code comment:

// TODO: Flag marked deprecated in release v0.15.0, remove in release v0.18.0

@navidshaikh @rhuss @maximilien @daisy-ycguo @itsmurugappan
If there's any reason or support concern that those flags might be still used/useful, please bring it up.

Changes

  • Remove --requests-cpu,--requests-memory,--limits-cpu,--limits-memory

Reference

Fixes N/A

@google-cla google-cla bot added the cla: yes Indicates the PR's author has signed the CLA. label Nov 11, 2020
Copy link
Contributor

@knative-prow-robot knative-prow-robot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dsimansk: 0 warnings.

In response to this:

Description

This PR removes --requests-cpu,--requests-memory,--limits-cpu,--limits-memory that should be deprecated already per code comment:

// TODO: Flag marked deprecated in release v0.15.0, remove in release v0.18.0

@navidshaikh @rhuss @maximilien @daisy-ycguo @itsmurugappan
If there's any reason or support concern that those flags might be still used/useful, please bring it up.

Changes

  • Remove --requests-cpu,--requests-memory,--limits-cpu,--limits-memory

Reference

Fixes N/A

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.

@knative-prow-robot knative-prow-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Nov 11, 2020
@dsimansk
Copy link
Contributor Author

/milestone v0.19.0

@knative-prow-robot
Copy link
Contributor

@dsimansk: You must be a member of the knative/knative-milestone-maintainers GitHub team to set the milestone. If you believe you should be able to issue the /milestone command, please contact your and have them propose you as an additional delegate for this responsibility.

In response to this:

/milestone v0.19.0

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.

@navidshaikh navidshaikh added this to the v0.19.0 milestone Nov 11, 2020
Copy link
Collaborator

@navidshaikh navidshaikh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve
lgtm

thanks @dsimansk !
please add CHANGELOG entry

@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 11, 2020
@navidshaikh
Copy link
Collaborator

/lgtm

lets get the CHANGELOG added with the v0.19 prep cc: @rhuss

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Nov 11, 2020
@knative-prow-robot knative-prow-robot removed the lgtm Indicates that a PR is ready to be merged. label Nov 11, 2020
@dsimansk
Copy link
Contributor Author

@navidshaikh ups, I've added changelog already.

@knative-metrics-robot
Copy link

The following is the coverage report on the affected files.
Say /test pull-knative-client-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/kn/flags/podspec.go 78.4% 83.3% 4.9
pkg/kn/flags/podspec_helper.go 77.9% 78.9% 0.9

Copy link
Collaborator

@navidshaikh navidshaikh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Nov 11, 2020
@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dsimansk, navidshaikh

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow-robot knative-prow-robot merged commit 8d3580a into knative:master Nov 11, 2020
@dsimansk dsimansk deleted the pr/deprecated-flags-cleanup branch November 11, 2020 14:03
mgencur pushed a commit to openshift-knative/client that referenced this pull request Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants