Skip to content
This repository was archived by the owner on Sep 18, 2020. It is now read-only.

agent: deserialize waitForPodDeletion check.#150

Merged
dghubble merged 1 commit into
coreos:masterfrom
diegs:eviction
Oct 24, 2017
Merged

agent: deserialize waitForPodDeletion check.#150
dghubble merged 1 commit into
coreos:masterfrom
diegs:eviction

Conversation

@diegs

@diegs diegs commented Oct 24, 2017

Copy link
Copy Markdown
Contributor

This adds a sync.WaitGroup to check all pods concurrently and avoid
erroneously extended grace periods.

@dghubble

dghubble commented Oct 24, 2017

Copy link
Copy Markdown
Contributor

Let's have the WaitGroups be separate and write the UID check to mirror upstream drain (and handle nil) #151.

@diegs

diegs commented Oct 24, 2017

Copy link
Copy Markdown
Contributor Author

Ok, do you want me to scope this PR just to the waitgroup fix then?

@dghubble

Copy link
Copy Markdown
Contributor

Sure

@diegs diegs changed the title agent: check pod UID during eviction. agent: deserialize waitForPodDeletion check. Oct 24, 2017

@dghubble dghubble left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Rebase if you haven't already. LGTM

This adds a sync.WaitGroup to check all pods concurrently and avoid
erroneously extended grace periods.
@diegs

diegs commented Oct 24, 2017

Copy link
Copy Markdown
Contributor Author

Rebased, though strictly not necessary since no conflicts... cc @euank :)

@dghubble
dghubble merged commit a9bc42c into coreos:master Oct 24, 2017
@diegs
diegs deleted the eviction branch October 24, 2017 22:07
@euank

euank commented Oct 24, 2017

Copy link
Copy Markdown
Contributor

Our repo allows merge commits. Was it indicating otherwise @dghubble?

@dghubble

Copy link
Copy Markdown
Contributor

Habit, looks like its not enforced, which I'm fine with

@dghubble dghubble mentioned this pull request Oct 24, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants