mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-30 05:43:58 +00:00
Automatic merge from submit-queue (batch tested with PRs 38432, 36887, 38415) Add --image-pull-stuck-timeout option to kubelet In this PR, add --image-pull-stuck-time option to specify the stuck timeout for pulling image. When docker extracts image layer, there is no progress. The progress will exceed 1m if the layer is big or system is busy. It happend in our cluster, so I add above option to specify the timeout. Related error log: <pre> [... kube_docker_client.go:29] Cancel pulling image "our_registry/demo/test" because of no progress for 1m0s, latest progress "c914ad57d670": Extracting [==================>] 513.5 MB/513.5MB" [... docker_manager.go:2254] container start failed: ErrImagePull: net/http: request canceled </pre>