Skip to content

Enhancement deploymentMetricsAggregator for Topologyspreadconstraint #873

@heyosi

Description

@heyosi

What would you like to be added:
I would like to add Topologyspreadconstraint to deployment of /splunk-kubernetes-metrics/templates

topologySpreadConstraints:
- maxSkew: 1
  topologyKey: topology.kubernetes.io/zone
  whenUnsatisfiable: DoNotSchedule
  labelSelector:
    matchExpressions:
    - key: app
      operator: In
      values:
      - {{ template "splunk-kubernetes-metrics.name" . }}

Why is this needed:
You can use topology spread constraints to control how Pods are spread across your cluster among failure-domains such as regions, zones, nodes, and other user-defined topology domains. This can help to achieve high availability as well as efficient resource utilization.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions