Closed Iristyle closed 4 years ago
You know what -- I think the docs / examples at https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#always-co-located-in-the-same-node may be outdated. Just trying to deploy, and I'm getting validation errors. This might be my mistake!
UPDATE: Yeah, the docs are not up to date with the schema. Closing!
Which version of kube-score are you using?
What did you do?
What did you expect to see?
Given a
podAntiAffinity
like the above (similar to the example at https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#always-co-located-in-the-same-node), I would expect the following to meet the guidelines fordeployment-has-host-podantiaffinity
/statefulset-has-host-podantiaffinity
What did you see instead?
If I instead to switch to what is in the tests then the check passes