Repository navigation
Support topologySpreadConstraints in the Trivy Helm chart
#11370
FrederikNJS
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Description
It would be nice to support topologySpreadConstraints in the Trivy Helm chart, as these make it very easy to scale the StatefulSet while keeping the distribution of pods even, and avoiding that all pods accidentally land on the same node.
TopologySpreadConstraints are more flexible than podAntiAffinities, as they can support multiple pods running on the same node/zone, while still keeping the amount of pods on each node/zone even. TopologySpreadConstraints also support pods ignoring a different version of the pod, meaning that version upgrades doesn't automatically force running on different nodes than the old pods were.
Target
Kubernetes
Scanner
None
All reactions