Skip to content

Cherry-pick #14259 to 7.5: Fix cleanup when autodiscover pods are terminated#14265

Merged
jsoriano merged 2 commits intoelastic:7.5from
jsoriano:backport_14259_7.5
Oct 28, 2019
Merged

Cherry-pick #14259 to 7.5: Fix cleanup when autodiscover pods are terminated#14265
jsoriano merged 2 commits intoelastic:7.5from
jsoriano:backport_14259_7.5

Conversation

@jsoriano
Copy link
Copy Markdown
Member

Cherry-pick of PR #14259 to 7.5 branch. Original message:

In some cases pods termination doesn't originate a delete event in the
API watchers. Detect termination also by checking if a deletion
timestamp exists in update events.

In some cases pods termination doesn't originate a delete event in the
API watchers. Detect termination also by checking if a deletion
timestamp exists in update events.

(cherry picked from commit 1c36118)
@jsoriano jsoriano merged commit e6ce8ef into elastic:7.5 Oct 28, 2019
@jsoriano jsoriano deleted the backport_14259_7.5 branch October 28, 2019 15:05
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
…are terminated (elastic#14265)

In some cases pods termination doesn't originate a delete event in the
API watchers. Detect termination also by checking if a deletion
timestamp exists in update events.

(cherry picked from commit 9de0061)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants