kube-score icon indicating copy to clipboard operation
kube-score copied to clipboard

Can we set rules to ignore init-Container

Open jayantapaul-18 opened this issue 2 years ago • 2 comments
trafficstars

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 .

jayantapaul-18 avatar May 11 '23 07:05 jayantapaul-18

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.

zegl avatar May 12 '23 12:05 zegl

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.

jayantapaul-18 avatar May 13 '23 06:05 jayantapaul-18