-
Notifications
You must be signed in to change notification settings - Fork 40k
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
KEP-4210: add e2e tests and add small fix for ImageGCMaxAge #123343
Conversation
3d4d285
to
e2687a0
Compare
test/e2e_node/image_gc_test.go
Outdated
) | ||
|
||
// var _ = SIGDescribe("ImageGarbageCollect [Serial][NodeFeature:GarbageCollect]", func() { | ||
var _ = SIGDescribe("ImageGarbageCollect", func() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be serial due to you changing the kubelet config.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
whoops good catch, forgot to replace with the above comment 🙃
e2687a0
to
3688836
Compare
58efb8d
to
6ca9fec
Compare
/triage accepted Part of an accepted KEP. |
/lgtm |
@kannon92: GitHub didn't allow me to assign the following users: yujuhong. Note that only kubernetes members with read permissions, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time. 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/test-infra repository. |
LGTM label has been added. Git tree hash: 92079fe17a9ce0dfe1dd5772fe1edbeb3cf526bb
|
Signed-off-by: Peter Hunt <[email protected]>
Signed-off-by: Peter Hunt <[email protected]>
Signed-off-by: Peter Hunt <[email protected]>
Signed-off-by: Peter Hunt <[email protected]>
66e486a
to
ba8fcb5
Compare
nope there shouldn't be! |
/test pull-kubernetes-cos-cgroupv2-containerd-node-e2e-serial |
/lgtm |
LGTM label has been added. Git tree hash: fe5b522762c941e76b40bf74233823ed7b549ba8
|
/retest |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: haircommander, mrunalp 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 |
What type of PR is this?
/kind feature
What this PR does / why we need it:
this PR adds e2e tests for imageGCMaxAge KEP, as well as fix a bug where the kubelet would garbage collect images after restarting, as it didn't have an idea of how old the images are. A consequence is MaxAge GC won't trigger until the kubelet has been alive for the full MaxAge duration, which I think is better than over GC'ing
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: