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.
apps/v1/Deployment secret-app in secret-app 🤔
[WARNING] Deployment has host PodAntiAffinity
· Deployment does not have a host podAntiAffinity set
It's recommended to set a podAntiAffinity that stops multiple pods
from a deployment from being scheduled on the same node. This
increases availability in case the node becomes unavailable.
Though if I change the topologyKey to hostname it works..
Which version of kube-score are you using?
kube-score version: 1.12.0, commit: 82810c42bb501443116bfb67dde81bc2f68fa318, built: 2021-08-28T20:47:35Z
Wrote a deployment with
Got told:
Though if I change the topologyKey to hostname it works..
Commands used to invoke kubescore