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.
kube-score should warn about deprecated Ingress apiVersion, it has been deprecated since 1.19 & will be removed in 1.22: https://v1-19.docs.kubernetes.io/docs/setup/release/notes/#api-change
We're currently running on EKS with 1.21 & specifying the kube version to kube-score as well.
What did you see instead?
kube-score warns about deprecated PDB but not about deprecated Ingress apiVersion:
networking.k8s.io/v1beta1/Ingress irrelevant-ingress ✅
policy/v1beta1/PodDisruptionBudget irrelevant-pdb 🤔
[WARNING] Stable version
· The apiVersion and kind policy/v1beta1/PodDisruptionBudget is deprecated
It's recommended to use policy/v1 instead which has been available
since Kubernetes v1.21
Which version of kube-score are you using?
What did you do?
What did you expect to see?
What did you see instead?