vectordotdev / helm-charts

Helm charts for Vector.
https://vector.dev
Mozilla Public License 2.0
111 stars 90 forks source link

Add support for Pod topology spread constraints #260

Closed fkrestan closed 1 year ago

fkrestan commented 1 year ago

The vector Helm chart currently doesn't have support for Pod topology spread constraints. Adding the topology spread constraints will help with increasing the fault tolerance of Vector in the aggregator role running as a Deployment or StatefulSet setups by spreading the Pods evenly over failure domains (e.g. nodes, zones).

My specific use-case is the Deployment variant with HorizontalPodAutoscaler defined. The usage of autoscaling makes static Pod allocations cumbersome.

This doesn't make sense for the DaemonSet agent role setups of course.