Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-6674

[Helm Chart] Allow affinity configuration to be changed

XMLWordPrintable

    • Icon: Feature Feature
    • Resolution: Done
    • Icon: Major Major
    • RHDG 8.5.1 GA
    • RHDG 8.4.4 GA
    • Helm Chart
    • None

      Currently the StatefulSet is hardcoded to the following policy:

          podAntiAffinity: 
            preferredDuringSchedulingIgnoredDuringExecution: 
              - podAffinityTerm: 
                  labelSelector: 
                    matchLabels: 
                      clusterName: {{ include "infinispan-helm-charts.name" . }}
                      app: infinispan-pod
                  topologyKey: kubernetes.io/hostname
                weight: 100
      

      Instead it should be possible for users to configure these policies via deploy.affinity in the values.yaml.

              vrigamon@redhat.com Vittorio Rigamonti
              remerson@redhat.com Ryan Emerson
              Pavel Drobek Pavel Drobek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: