splunk / splunk-connect-for-kubernetes

Helm charts associated with kubernetes plug-ins
Apache License 2.0
344 stars 270 forks source link

Enhancement deploymentMetricsAggregator for Topologyspreadconstraint #873

Open heyosi opened 1 month ago

heyosi commented 1 month ago

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.

vinzent commented 1 month ago

Don't expect anything. This chart is deprecated and superseded by the new Splunk Otel Collector: https://github.com/signalfx/splunk-otel-collector-chart/