kubernetes/pkg/kubelet
Kubernetes Submit Queue a32e5b6a59
Merge pull request #64784 from jiayingz/status-ready
Automatic merge from submit-queue (batch tested with PRs 63717, 64646, 64792, 64784, 64800). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Reconcile extended resource capacity after kubelet restart.

**What this PR does / why we need it**:

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes https://github.com/kubernetes/kubernetes/issues/64632

**Special notes for your reviewer**:

**Release note**:

```release-note
Kubelet will set extended resource capacity to zero after it restarts. If the extended resource is exported by a device plugin, its capacity will change to a valid value after the device plugin re-connects with the Kubelet. If the extended resource is exported by an external component through direct node status capacity patching, the component should repatch the field after kubelet becomes ready again. During the time gap, pods previously assigned with such resources may fail kubelet admission but their controller should create new pods in response to such failures.
```
2018-06-06 01:24:21 -07:00
..
apis Merge pull request #64354 from mtaufen/dkcfg-safe-fields 2018-06-05 22:24:46 -07:00
cadvisor Add fs status for Windows containers 2018-05-17 14:22:21 +08:00
certificate Extract connection rotating dialer into a package 2018-05-16 10:30:53 -07:00
checkpoint Make 'pod' package to use unified checkpointManager 2018-04-16 01:30:20 -04:00
checkpointmanager Make 'pod' package to use unified checkpointManager 2018-04-16 01:30:20 -04:00
client Use Dial with context 2018-05-19 08:14:37 +10:00
cm Merge pull request #63143 from jsafrane/containerized-subpath 2018-06-01 12:12:19 -07:00
config Address comments in #64006. 2018-06-01 17:25:56 -07:00
configmap Refactor ConfigMapManager 2018-05-17 11:37:35 +02:00
container Merge pull request #64006 from Random-Liu/streaming-auth 2018-05-31 22:45:29 -07:00
custommetrics Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
dockershim Merge pull request #64009 from feiskyer/windows-security-context 2018-06-05 22:24:38 -07:00
envvars Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
events Improve messaging on resize 2018-01-29 15:07:51 -05:00
eviction add metadata to kubelet eviction event annotations 2018-05-23 16:12:54 -07:00
images Promote LocalStorageCapacityIsolation feature to beta 2018-03-02 15:10:08 -08:00
kubeletconfig remove unused status per TODO 2018-05-29 17:34:00 -07:00
kuberuntime Merge pull request #63717 from ingvagabund/promote-sysctl-annotations-to-fields 2018-06-06 00:47:36 -07:00
leaky
lifecycle Move pkg/scheduler/schedulercache -> pkg/scheduler/cache 2018-05-31 22:55:34 +08:00
logs fix typo: peirodically->periodically 2018-05-11 14:39:07 +08:00
metrics Merge pull request #63434 from adfinis-forks/bug_typo_kubelet_volume_stats 2018-05-24 11:44:20 -07:00
mountpod Make 'pod' package to use unified checkpointManager 2018-04-16 01:30:20 -04:00
network Update bazel BUILD files 2018-04-11 09:26:02 -07:00
pleg Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
pod Make 'pod' package to use unified checkpointManager 2018-04-16 01:30:20 -04:00
preemption Delete in-tree support for NVIDIA GPUs. 2018-04-02 20:17:01 -07:00
prober reset resultRun to 0 on pod restart 2018-04-19 22:58:19 +08:00
qos Make a few code paths compile cleanly with 32-bit Go. 2018-02-27 13:53:32 -08:00
remote pkg: kubelet: remote: increase grpc client default size 2018-05-17 17:32:33 +02:00
secret Refactor ConfigMapManager 2018-05-17 11:37:35 +02:00
server Address comments in #64006. 2018-06-01 17:25:56 -07:00
stats Add Pod stats for Windows containers 2018-05-17 15:28:46 +08:00
status Inject ContainersReady 2018-06-05 11:10:38 -07:00
sysctl Run make update 2018-06-06 00:12:40 +02:00
token implement service account token projection 2018-06-04 17:22:08 -07:00
types add ContainersReady condition 2018-06-05 11:10:38 -07:00
util Add probe based mechanism for kubelet plugin discovery 2018-05-29 12:00:37 -04:00
volumemanager Refactor of GenerateMapDeviceFunc to delegate Map call to volume plugin. 2018-06-03 17:25:37 -04:00
winstats fix "make test" 2018-02-24 17:39:21 +08:00
active_deadline_test.go
active_deadline.go
BUILD Run make update 2018-06-06 00:12:40 +02:00
doc.go
kubelet_getters_test.go
kubelet_getters.go Apply pod name and namespace labels for pod cgroup for cadvisor metrics 2018-05-07 14:51:12 -04:00
kubelet_network_test.go Move the kubelet network package down to dockershim 2018-04-11 09:25:56 -07:00
kubelet_network.go Move hairpin mode logic to dockershim 2018-04-11 09:21:17 -07:00
kubelet_node_status_test.go Merge pull request #64784 from jiayingz/status-ready 2018-06-06 01:24:21 -07:00
kubelet_node_status.go Reconcile extended resource capacity after kubelet restart. 2018-06-05 14:38:49 -07:00
kubelet_pods_test.go Merge pull request #64006 from Random-Liu/streaming-auth 2018-05-31 22:45:29 -07:00
kubelet_pods_windows_test.go Add dynamic environment variable substitution to subpaths 2018-05-29 17:01:09 +01:00
kubelet_pods.go Inject ContainersReady 2018-06-05 11:10:38 -07:00
kubelet_resources_test.go
kubelet_resources.go
kubelet_test.go implement service account token projection 2018-06-04 17:22:08 -07:00
kubelet_volumes_test.go Refactor of GenerateMapDeviceFunc to delegate Map call to volume plugin. 2018-06-03 17:25:37 -04:00
kubelet_volumes.go Fix issue with race condition during pod deletion 2018-03-15 15:35:37 -07:00
kubelet.go sysctls: create feature gate to track promotion 2018-06-06 00:23:11 +02:00
oom_watcher_test.go
oom_watcher.go
OWNERS
pod_container_deletor_test.go
pod_container_deletor.go kubelet: force filterContainerID to empty string when removeAll is true 2018-04-30 16:29:17 -05:00
pod_workers_test.go
pod_workers.go fixes document grammar 2018-02-20 10:38:41 -05:00
reason_cache_test.go
reason_cache.go
runonce_test.go implement service account token projection 2018-06-04 17:22:08 -07:00
runonce.go fix todo:add function getFailContainer to report which containers failed the pod 2018-03-15 09:38:02 +08:00
runtime.go Remove setInitError. 2018-01-29 21:44:54 -08:00
util.go
volume_host.go implement service account token projection 2018-06-04 17:22:08 -07:00