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

Change the behaviour of Garbage Collector of AggregateCollectionStates #4488

Merged
merged 1 commit into from
Dec 22, 2021

Conversation

piotrnosek
Copy link
Contributor

Introduce the notion of contributive Pods - such that the Pod is either active or as an existing associated controller.
Remove only AggregateCollectionStates which don't have any contributive Pod.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Nov 30, 2021
@piotrnosek piotrnosek marked this pull request as draft December 1, 2021 10:45
@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 1, 2021
Copy link
Collaborator

@jbartosik jbartosik left a comment

Choose a reason for hiding this comment

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

I see git conflict markers (like '<<<<<<<'). Please finish rebasing

@piotrnosek piotrnosek force-pushed the vpa-gc-controller-two branch from f86c824 to 105ad3d Compare December 2, 2021 13:41
@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Dec 2, 2021
@piotrnosek piotrnosek marked this pull request as ready for review December 2, 2021 13:42
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 2, 2021
@piotrnosek
Copy link
Contributor Author

Ready for review. Sorry for the confusion - I moved desired changes from #4425 to here due to running into git rebase hell I couldn't manage to fix.

@piotrnosek piotrnosek requested a review from jbartosik December 2, 2021 13:43
@piotrnosek piotrnosek force-pushed the vpa-gc-controller-two branch from 105ad3d to 9c54eef Compare December 2, 2021 13:45
AggregateCollectionsStates for which corresponding owner controller
doesn't exist anymore.
@piotrnosek piotrnosek force-pushed the vpa-gc-controller-two branch from 9c54eef to d03624b Compare December 21, 2021 17:26
@piotrnosek piotrnosek requested a review from jbartosik December 21, 2021 17:26
@jbartosik jbartosik mentioned this pull request Dec 22, 2021
Copy link
Collaborator

@jbartosik jbartosik left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 22, 2021
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jbartosik, piotrnosek

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 Dec 22, 2021
@k8s-ci-robot k8s-ci-robot merged commit 429a217 into kubernetes:master Dec 22, 2021
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. area/vertical-pod-autoscaler cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", 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.

3 participants