You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the kube-score to check my k8s objects/resources and it will be awesome if you can present the error even if I ignored that test but still exit without error.
Example without ignore
helm template mychart . | kube-score score
# output
apps/v1/Deployment appclient 💥
[CRITICAL] Deployment targeted by HPA does not have replicas configured
· The deployment is targeted by a HPA, but a static replica count is configured in the DeploymentSpec
When replicas is both statically set and managed by the HPA, the
replicas will be changed to the statically configured count when the
spec is applied, even if the HPA wants the replica count to be
higher.
autoscaling/v2beta2/HorizontalPodAutoscaler appclient ✅
networking.k8s.io/v1beta1/Ingress appclient ✅
v1/Service appclient ✅
# exit 1
helm template mychart . | kube-score score --show-ignored-test-error --ignore-test deployment-targeted-by-hpa-does-not-have-replicas-configured
# output:
apps/v1/Deployment appclient 💥
[CRITICAL] Deployment targeted by HPA does not have replicas configured
· The deployment is targeted by a HPA, but a static replica count is configured in the DeploymentSpec
When replicas is both statically set and managed by the HPA, the
replicas will be changed to the statically configured count when the
spec is applied, even if the HPA wants the replica count to be
higher.
autoscaling/v2beta2/HorizontalPodAutoscaler appclient ✅
networking.k8s.io/v1beta1/Ingress appclient ✅
v1/Service appclient ✅
# exit 0
Thank you for your great work!
The text was updated successfully, but these errors were encountered:
Hi!
I'm using the
kube-score
to check my k8s objects/resources and it will be awesome if you can present the error even if I ignored that test but still exit without error.Example without ignore
with ignore
suggestion
--show-ignored-test-error
:Thank you for your great work!
The text was updated successfully, but these errors were encountered: