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

Native K8s does not respect TM memory setups decided by RM

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      Currently, kubernetes-taskmanager.sh decides JVM options (Xmx, Xms, etc.) from a cluster-wised configuration overwritten by TM-specific dynamic properties. The problem is that, if the cluster-wised configuration contains some unwanted options, there's no way to remove/unset them via dynamic properties, which leads to inconsistent JVM options.

      One of the key improvement of FLIP-49 was to make all memory calculations happen in one place, which is the RM side for active RM modes. According to this principle, I'd suggest to generate the memory related JVM options on RM side, and passing them to TM through ENVs.

      This only affects fine-grained resource management.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment