kubernetes/pkg
k8s-merge-robot ed3a29bd6a Merge pull request #29581 from Random-Liu/panic-if-cadvisor-not-started
Automatic merge from submit-queue

Kubelet: Fail kubelet if cadvisor is not started.

Fixes https://github.com/kubernetes/kubernetes/issues/28997.

We started cadvisor in `sync.Do()`, which only run once no matter cadvisor successfully starts or not.

Once it fails, kubelet will be stuck in a bad state. Kubelet could never start sync loop because there is an internal error, but kubelet would never retry starting cadvisor again.

This PR just fails kubelet when cadvisor start fails, and then relies on the babysitter to restart kubelet.
In the future, we may want to add backoff logic in the babysitter to protect the system.

On the other hand, https://github.com/kubernetes/kubernetes/pull/29492 will fix cadvisor side to prevent cadvisor failing because of these kind of transient error.

Mark P1 to match the original issue.

@dchen1107 @vishh
2016-07-25 18:29:29 -07:00
..
admission Factory for SharedIndexInformers 2016-07-21 14:04:48 +02:00
api Revert "add tokenreviews endpoint to implement webhook" 2016-07-21 09:40:35 +02:00
apimachinery Merge pull request #28431 from brendandburns/thirdparty2 2016-07-22 09:41:58 -07:00
apis Add codegen artifacts for kubelet flag 2016-07-21 10:06:17 -04:00
apiserver Removed unnecessary empty line. 2016-07-21 18:07:36 +08:00
auth Merge pull request #28281 from nhlfr/authorize-return-bool 2016-07-18 21:40:26 -07:00
capabilities Use Go canonical import paths 2016-07-16 13:48:21 -04:00
client Merge pull request #26709 from hodovska/master 2016-07-22 11:07:05 -07:00
cloudprovider Merge pull request #29363 from lixiaobing10051267/masterV1 2016-07-25 14:15:27 -07:00
controller Merge pull request #28162 from kargakis/annotation-fixes-for-scaling 2016-07-25 10:58:18 -07:00
conversion Use Go canonical import paths 2016-07-16 13:48:21 -04:00
credentialprovider Merge pull request #28539 from derekwaynecarr/credential_provider_timeout 2016-07-22 18:01:41 -07:00
dns Use Infof/Warningf when appropriate 2016-07-19 12:10:53 -04:00
fieldpath Use Go canonical import paths 2016-07-16 13:48:21 -04:00
fields Use Go canonical import paths 2016-07-16 13:48:21 -04:00
genericapiserver make addition group registration easier 2016-07-25 08:23:24 -04:00
healthz fixes the wrong doc in package healthz 2016-07-18 22:46:09 +08:00
httplog Use Go canonical import paths 2016-07-16 13:48:21 -04:00
hyperkube Use Go canonical import paths 2016-07-16 13:48:21 -04:00
kubectl Merge pull request #28833 from tnguyen-rh/fix-docstring 2016-07-25 16:16:06 -07:00
kubelet Fail kubelet if cadvisor is not started. 2016-07-25 16:46:18 -07:00
kubemark Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
labels Use Go canonical import paths 2016-07-16 13:48:21 -04:00
master make addition group registration easier 2016-07-25 08:23:24 -04:00
metrics Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
probe pkg/probe/http: don't compare error strings in tests 2016-07-19 11:13:36 -07:00
proxy Use Go canonical import paths 2016-07-16 13:48:21 -04:00
quota Use Go canonical import paths 2016-07-16 13:48:21 -04:00
registry Merge pull request #29518 from hongchaodeng/cleanup 2016-07-25 11:43:36 -07:00
runtime Merge pull request #29042 from dims/fixup-imports 2016-07-18 07:23:38 -07:00
security Add package docs for pod security policy 2016-07-22 13:35:37 -04:00
securitycontext Remove pod mutation for PVs with supplemental GIDs 2016-07-22 17:41:44 -04:00
serviceaccount Check for valid serviceaccount JWT token before inspecting claims 2016-07-06 14:25:15 -04:00
ssh Revert "Add a customized ssh dialer that will timeout" 2016-07-14 08:48:24 +02:00
storage Revert "cacher.go: embed storage.Interface into cacher" 2016-07-22 07:28:45 +02:00
types Use Go canonical import paths 2016-07-16 13:48:21 -04:00
ui Use Go canonical import paths 2016-07-16 13:48:21 -04:00
util Merge pull request #29266 from xiangpengzhao/fix_defer_close 2016-07-22 05:24:28 -07:00
version Use Go canonical import paths 2016-07-16 13:48:21 -04:00
volume Merge pull request #24797 from screeley44/vols_debug_mkfs 2016-07-21 17:12:33 -07:00
watch Use Go canonical import paths 2016-07-16 13:48:21 -04:00
OWNERS Remove bgrant from pkg/OWNERS and pkg/kubectl/OWNERS since he has plenty to do. 2016-06-16 08:21:27 -07:00