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

Support topology spread constrains

    XMLWordPrintableJSON

Details

    Description

      In case HA is enabled, it should be possible to define topology spread constrains to make sure the replicas are deployed on different nodes/zones

      for instance:

      topologySpreadConstraints:

      • maxSkew: 1
        topologyKey: topology.kubernetes.io/zone
        whenUnsatisfiable: DoNotSchedule
        labelSelector :
          matchLabels:
             key:  value

      Reference:
      https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/

       

      Attachments

        1. image-2023-02-15-08-38-49-353.png
          26 kB
          Tamir Sagi
        2. image-2023-02-15-08-42-04-150.png
          29 kB
          Tamir Sagi

        Activity

          People

            tamirsagi Tamir Sagi
            tamirsagi Tamir Sagi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: