-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Keep the number of ReplicaSets to a minimum #15640
Conversation
|
Welcome @subhasree91! It looks like this is your first PR to knative/serving 🎉 |
Hi @subhasree91. Thanks for your PR. I'm waiting for a knative member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the 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-sigs/prow repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: subhasree91 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
b8b8da9
to
5048628
Compare
Hey thanks for the PR - I've been wondering about this for a while. Is there a reason why we wouldn't just hardcode the # to zero or maybe one? Odd that the godoc isn't clear exactly on the semantics there |
Since revisions track history I'm wondering if we should set this to 0 From the K8s docs
|
If we don't do any deployment rollbacks we should be on the safe side. |
We don't. So I say we just set it to zero. @subhasree91 are you interested in making the necessary updates? |
@subhasree91 moved to a different team in our org and won't progress this. I addressed the review comments here: #15698 /close |
@SaschaSchwarze0: You can't close an active issue/PR unless you authored it or you are a collaborator. In response to this:
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-sigs/prow repository. |
@subhasree91: Closed this PR. In response to this:
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-sigs/prow repository. |
Fixes #15639
For deployments in k8s the default for .spec.revisionHistoryLimit is set to 10. This means that k8s will keep the latest 10 replicasets for an deployment.
This will help reduce the size of etcd database in a controlplane cluster.
Release Note