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

Properly handle graceful shutdown of the kubelet plugin #197

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

klueska
Copy link
Collaborator

@klueska klueska commented Oct 29, 2024

No description provided.

@klueska klueska requested a review from elezar October 29, 2024 13:56
if err != nil {
return err
}

sigc := make(chan os.Signal, 1)
Copy link
Member

Choose a reason for hiding this comment

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

Not specific to this PR, but I think in the controller component we use sigs here? I suppose sigc is Sig(nal) C(hannel)? Do we want to update for consistency?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We normally use sigc. I missed this in reviewing @ArangoGutierrez 's PR for the controller. We should do a follow-up to make it consistent over there.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I went back and looked and it seems we actually do use sigs everywhere -- not sure why I thought it was sigc. Updated.

Signed-off-by: Kevin Klues <kklues@nvidia.com>
@klueska klueska merged commit 5488fff into NVIDIA:main Oct 30, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants