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

Create 20200529-pod-cost-annotations #1828

Merged
merged 2 commits into from
Jan 13, 2021

Conversation

drbugfinder-work
Copy link
Contributor

@drbugfinder-work drbugfinder-work commented May 29, 2020

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label May 29, 2020
@k8s-ci-robot
Copy link
Contributor

Welcome @drbugfinder-work!

It looks like this is your first PR to kubernetes/enhancements 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes/enhancements has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. 😃

@k8s-ci-robot
Copy link
Contributor

Hi @drbugfinder-work. Thanks for your PR.

I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@k8s-ci-robot k8s-ci-robot added needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. kind/kep Categorizes KEP tracking issues and PRs modifying the KEP directory labels May 29, 2020
@k8s-ci-robot k8s-ci-robot requested review from kow3ns and mattfarina May 29, 2020 12:03
@k8s-ci-robot k8s-ci-robot added sig/apps Categorizes an issue or PR as relevant to SIG Apps. sig/architecture Categorizes an issue or PR as relevant to SIG Architecture. labels May 29, 2020
@drbugfinder-work
Copy link
Contributor Author

/assign @janetkuo
/assign @deads2k
/assign @cheftako

@drbugfinder-work drbugfinder-work requested a review from janetkuo May 30, 2020 10:07
keps/sig-apps/20200529-delete-priority-annotations.md Outdated Show resolved Hide resolved
keps/sig-apps/20200529-delete-priority-annotations.md Outdated Show resolved Hide resolved
keps/sig-apps/20200529-delete-priority-annotations.md Outdated Show resolved Hide resolved
keps/sig-apps/20200529-delete-priority-annotations.md Outdated Show resolved Hide resolved
keps/sig-apps/20200529-delete-priority-annotations.md Outdated Show resolved Hide resolved
keps/sig-apps/20200529-delete-priority-annotations.md Outdated Show resolved Hide resolved
keps/sig-apps/20200529-delete-priority-annotations.md Outdated Show resolved Hide resolved
keps/sig-apps/20200529-delete-priority-annotations.md Outdated Show resolved Hide resolved
@drbugfinder-work
Copy link
Contributor Author

@liggitt
Thank you for constructive feedback and guidance for my first Kubernetes pull request.
I've tried to incorporate your feedback. I am looking forward to complete this feature with you.

@liggitt
Copy link
Member

liggitt commented Jun 8, 2020

Thanks for the updates. I'd recommend getting input from the sig-apps reviewers as well. I will have more time to look at this after the 1.19 code freeze.

@drbugfinder-work
Copy link
Contributor Author

@janetkuo
@mattfarina
@kow3ns
Do you have addition feedback regarding this proposal?
There wasn't any response to my mail to the sig-apps mailinglist:
https://groups.google.com/forum/#!topic/kubernetes-sig-apps/wWn3NzxXxDk

Are the last changes sufficient to get the pull request for this KEP accepted?

@drbugfinder-work
Copy link
Contributor Author

@janetkuo
Thank you for your feedback. I've changed the reviewers and approvers.

@prydonius
Copy link

@drbugfinder-work we've added this KEP for discussion at the next SIG Apps meeting, Monday 15th 9am PT. See more details about the meetings here if you're able to join: https://github.com/kubernetes/community/tree/master/sig-apps#meetings.

@drbugfinder
Copy link

Thanks for the updates. I'd recommend getting input from the sig-apps reviewers as well. I will have more time to look at this after the 1.19 code freeze.

@liggitt Hi Jordan,
Maybe you can have a look at this KEP, as 1.19 code freeze is over?
Thank you!

@drbugfinder
Copy link

Hi @janetkuo, @mattfarina,
can you please tell me if this KEP is sufficient to be accepted?

@turbaszek
Copy link

@janetkuo @mattfarina is there any chance to get this or #1888 accepted?

Copy link
Member

@ahg-g ahg-g left a comment

Choose a reason for hiding this comment

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

Thanks richard

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: drbugfinder-work, janetkuo

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 13, 2021
@drbugfinder-work drbugfinder-work changed the title Create 20200529-delete-priority-annotations Create 20200529-pod-cost-annotations Jan 13, 2021
@ingvagabund
Copy link
Contributor

@drbugfinder-work thanks for addressing the comments and putting the KEP together!!!
@ahg-g I am volunteering to help you promote the KEP into implementable state

@ahg-g
Copy link
Member

ahg-g commented Jan 13, 2021

/lgtm

As discussed, we are going to merge this as provisional and continue the discussion in a new PR that aims to promote it to implementable. Notable things that needs works are: design details, in particular calling out that when pod-cost is set, the rank calculated by ReplicaSet is pod-cost then podsOnNode, when not set it will be just podsOnNode. The KEP also need to discuss whether or not this will be gated by a feature flag.

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 13, 2021
@ahg-g
Copy link
Member

ahg-g commented Jan 13, 2021

@drbugfinder-work can you please run ./hack/update-toc.sh and amend the change?

@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 13, 2021
@drbugfinder-work
Copy link
Contributor Author

@ahg-g I've executed ./hack/update-toc.sh

@k8s-ci-robot
Copy link
Contributor

@drbugfinder-work: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

In response to this:

/retest

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.

@ahg-g
Copy link
Member

ahg-g commented Jan 13, 2021

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Jan 13, 2021
@ahg-g
Copy link
Member

ahg-g commented Jan 13, 2021

@ahg-g I've executed ./hack/update-toc.sh

thanks, can you squash the two commits pls.

@ahg-g
Copy link
Member

ahg-g commented Jan 13, 2021

so I just learned about this:

/label tide/merge-method-squash

@k8s-ci-robot k8s-ci-robot added the tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges. label Jan 13, 2021
@ahg-g
Copy link
Member

ahg-g commented Jan 13, 2021

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 13, 2021
@k8s-ci-robot k8s-ci-robot merged commit 29fe6ba into kubernetes:master Jan 13, 2021
@k8s-ci-robot k8s-ci-robot added this to the v1.21 milestone Jan 13, 2021
@ahg-g
Copy link
Member

ahg-g commented Jan 13, 2021

@drbugfinder-work thanks for addressing the comments and putting the KEP together!!!
@ahg-g I am volunteering to help you promote the KEP into implementable state

Thanks Jan, feel free to open a follow up PR. Lets try to get this done as soon as possible please.

@jforyciarz
Copy link

jforyciarz commented Feb 5, 2021

@kgolab and I are working on a case that relates to this KEP. Relates to a preference to kill the oldest pod first which goes to the memory leaks occurring in a set of autoscaled replicas. The min set of replicas never change because they are always the oldest and as the result their performance degrades over time.
@kgolab to follow up
@josephburnett @koziorowski FYI

@ahg-g
Copy link
Member

ahg-g commented Feb 5, 2021

@kgolab and I are working on a case that relates to this KEP. Relates to a preference to kill the oldest pod first which goes to the memory leaks occurring in a set of autoscaled replicas. The min set of replicas never change because they are always the oldest and as the result their performance degrades over time.
@kgolab to follow up
@josephburnett @koziorowski FYI

@jforyciarz this should be easy to implement using a webhook. For example, you can define an annotation downscale-oldest-first, and use a webhook such that when downscale-oldest-first is set, it sets the pod-deletion-cost to -1*<current-timestamp> for example.

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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/kep Categorizes KEP tracking issues and PRs modifying the KEP directory lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. sig/apps Categorizes an issue or PR as relevant to SIG Apps. sig/architecture Categorizes an issue or PR as relevant to SIG Architecture. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges.
Projects
None yet
Development

Successfully merging this pull request may close these issues.