zegl / kube-score

Kubernetes object analysis with recommendations for improved reliability and security. kube-score actively prevents downtime and bugs in your Kubernetes YAML and Charts. Static code analysis for Kubernetes.
https://kube-score.com
MIT License
2.75k stars 177 forks source link

feature request: topologySpreadConstraints #495

Closed errm closed 1 year ago

errm commented 1 year ago

We are using topologySpreadConstraints on our deployments

I have disabled the deployment-has-host-podantiaffinity check as a result, but it would be great if an appropriate topologySpreadConstraints would also satisfy this check!

kmarteaux commented 1 year ago

@zegl - Do you want me to add Pod.spec.topologySpreadConstraint checks? If so, I will do it.

zegl commented 1 year ago

@kmarteaux Please do! This sounds like a great feature. I'll assign you. :-)