You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Xintong Song (Jira)" <ji...@apache.org> on 2021/06/03 11:03:00 UTC
[jira] [Closed] (FLINK-21667) Standby RM might remove resources
from Kubernetes
[ https://issues.apache.org/jira/browse/FLINK-21667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xintong Song closed FLINK-21667.
--------------------------------
Resolution: Fixed
Fixed via
- master (1.14): a6c1e3a59880ba10e06dedbd4717444afa97da34
> Standby RM might remove resources from Kubernetes
> -------------------------------------------------
>
> Key: FLINK-21667
> URL: https://issues.apache.org/jira/browse/FLINK-21667
> Project: Flink
> Issue Type: Bug
> Components: Deployment / Kubernetes, Runtime / Coordination
> Affects Versions: 1.12.2
> Reporter: Xintong Song
> Assignee: Xintong Song
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.14.0
>
>
> Currently, on initialization {{KubernetesResourceManagerDriver}} starts a watch for receiving pod events. It could happen that it starts to receive events before obtaining leadership. Consequently, a standby RM may remove terminated pods from Kubernetes during handling the events.
> This is not very damaging atm, since the removed pods are already terminated anyway. However, it would still be good for a standby RM to strictly following the contract and make no modifications before obtaining leadership. We might consider to postpone starting of the watch to when the leadership is granted.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)