Skip to content

Cherry-pick #14259 to 7.4: Fix cleanup when autodiscover pods are terminated#14268

Merged
jsoriano merged 1 commit intoelastic:7.4from
jsoriano:backport_14259_7.4
Nov 5, 2019
Merged

Cherry-pick #14259 to 7.4: Fix cleanup when autodiscover pods are terminated#14268
jsoriano merged 1 commit intoelastic:7.4from
jsoriano:backport_14259_7.4

Conversation

@jsoriano
Copy link
Copy Markdown
Member

@jsoriano jsoriano commented Oct 28, 2019

Cherry-pick of PR #14259 to 7.4 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 81dc2d1 into elastic:7.4 Nov 5, 2019
@zube zube bot added [zube]: Done and removed [zube]: Inbox labels Nov 5, 2019
@jsoriano jsoriano deleted the backport_14259_7.4 branch November 5, 2019 14:00
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
…astic#14268)

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

Labels

backport review Team:Integrations Label for the Integrations team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants