-
Notifications
You must be signed in to change notification settings - Fork 40.1k
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
cluster/aws: Clean up dhcp-options #38645
cluster/aws: Clean up dhcp-options #38645
Conversation
Jenkins CRI GCE Node e2e failed for commit f2d410f. Full PR test history. The magic incantation to run this job again is |
@k8s-bot cri node e2e test this |
@@ -562,6 +562,23 @@ function create-dhcp-option-set () { | |||
echo "Using DHCP option set ${DHCP_OPTION_SET_ID}" | |||
} | |||
|
|||
function delete-dhcp-option-sets () { | |||
if [[ -n "${DHCP_OPTION_SET_ID:-}" ]]; then |
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.
Not sure why we check DHCP_OPTION_SET_ID.
Also maybe inline this function - it's a little less modularized, but it makes it easier to see that we're deleting consistently?
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.
#27278 introduced setting DHCP_OPTION_SET_ID
. Happy to inline, though.
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.
Ah - gotcha!
After adding the aws janitor, the thing we're consistently sweeping is the DhcpOptionSets created by cluster/aws/util.sh (and there were thousands on the first run). Fix it!
PTAL |
f2d410f
to
3e85983
Compare
LGTM - thanks! |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue |
@saad-ali: Ping on cherrypick request |
In general, feel free to create the pull request PR, I use that as my signal to review the request. If for some reason we decide not to go forward with the cherry pick we can always close the PR. |
But .. the cherrypick dashboard was created to monitor these things, and so contributors can avoid fighting with bots after they put up the request? That's a process change, if we're not using it. |
Ah, I should start using that :) |
Commit found in the "release-1.5" branch appears to be this PR. Removing the "cherrypick-candidate" label. If this is an error find help to get your PR picked. |
What this PR does / why we need it: After adding the aws janitor, the thing we're consistently sweeping is the DhcpOptionSets created by cluster/aws/util.sh (and there were thousands on the first run). Fix it!
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged):Special notes for your reviewer:
Release note: