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

Active Kubernetes integration phase 2 - Advanced Features

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

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.11.0
    • None

    Description

      This is phase 2 of active kubernetes integration. It is a umbrella jira to track all the advanced features and make Flink on Kubernetes production ready.

       

      Since the K8s is fast evolving and many new features will be supported in the future. Recently, i am thinking about which feature should be supported in flink configuration directly. And i have asked some suggestion from our users. I get the very rough conclusion here.

      > Very common use features. They should be directly supported in flink configuration

      • Kube config, namespace, service account, image(pull-policy, secrets), service exposed type
      • Annotations, Labels, NodeSelector
      • Toleration
      • Mem and cpu resources for jobmanager and taskmanager
      • Jobmanager deployment replication, support multiple jobmanagers to get fast recovery

      > Uncommon, but required by few production users. Maybe pod template FLINK-15656 is enough(will be supported in phase3).

      • Affinity and anti-affinity
      • Volume mount, from persistent volume, user created configmap, etc.
      • Dns policy
      • Sidecar container, will be used for debugging, log collecting, etc. In our internal production environment, we choose log4j2 custom appender to collect the jobmanager/taskmanger logs to persistent storage(HDFS, Aliyun OSS, etc.)
      • Init container, various initialization before user program running, download user jars and dependencies, register with external system, etc. We provide two ways for the image choice, user specified image with users jars baked in or official image with init container.

      Attachments

        Issue Links

        Activity

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

          People

            Unassigned Unassigned
            wangyang0918 Yang Wang
            Votes:
            4 Vote for this issue
            Watchers:
            24 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 3h 20m
                3h 20m

                Slack

                  Issue deployment