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.
in case that you have Deployment.yaml with port name that contains more than 15 character, the k8s will fail the deployment with the following error
Error: Deployment.apps "my-app" is invalid: spec.template.spec.containers[0].ports[0].name: Invalid value: "my-old-app-legacy": must be no more than 15 characters
it will be awesome if kube-score will be able to detect cases like that before the Deployment
in case that you have
Deployment.yaml
with port name that contains more than 15 character, the k8s will fail the deployment with the following errorit will be awesome if
kube-score
will be able to detect cases like that before the Deploymentexample: