zegl / kube-score

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.

Home Page:https://kube-score.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can we set rules to ignore init-Container

jayantapaul-18 opened this issue · comments

I'm using init-containers with main containers and kube-score is throwing [CRITICAL] Container Resources alert . So, looking for a way to either fixed the warning or, way to ignored those warning just for init-containers .

Hey. I think that the best way to "fix the error" in this case might be to specify the resource requirements of the init containers.

If not, please let me know why that's not a good solution for you.

Hey, thanks for quick response and recommendation . Let me try the resources cpu & memory for init-container and see if that resolve the alert or not.