Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-21667

Standby RM might remove resources from Kubernetes

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              xtsong Xintong Song
              xtsong Xintong Song
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: