acs-engine icon indicating copy to clipboard operation
acs-engine copied to clipboard

Image GC not running

Open colemickens opened this issue 9 years ago • 4 comments

This is almost surely because we run kubelet from a container. It might be time to consider not doing that.

From a kubectl describe node ...:

 4m            4m              1       {kubelet k8s-agentpri-24696100-0}                       Warning         ImageGCFailed           unable to find data for container /

colemickens avatar Apr 20 '17 03:04 colemickens

Has been happening to us in k8s v1.6.1. How to run kubelet not from a container?

nancyxue avatar Apr 28 '17 14:04 nancyxue

Almost all Windows nodes are reporting "ImageGCFailed" warning, here is the event: 4m 2d 763 13472acs90216 Node Warning ImageGCFailed {kubelet 13472acs90216} invalid capacity 0 on device "" at mount point ""

wenwu449 avatar May 19 '17 17:05 wenwu449

@wenwu449 that's a different issue. There are a lot of things misisng for Windows, and I'm pretty sure that's one of them. Can you open a new issue in ACS-Engine, and then file one upstream against Kubernetes and link them together?

Thanks.

As an update on this bug: apparently it only occurs sporadically, possibly only right after kubelet comes up, and then it gets back to a steady state.

colemickens avatar May 19 '17 18:05 colemickens

Closing as we are no longer running kubelet inside a container.

CecileRobertMichon avatar Aug 16 '18 18:08 CecileRobertMichon