kubernetes/pkg
Clayton Coleman d5719800bf
kubelet: Handle UID reuse in pod worker
If a pod is killed (no longer wanted) and then a subsequent create/
add/update event is seen in the pod worker, assume that a pod UID
was reused (as it could be in static pods) and have the next
SyncKnownPods after the pod terminates remove the worker history so
that the config loop can restart the static pod, as well as return
to the caller the fact that this termination was not final.

The housekeeping loop then reconciles the desired state of the Kubelet
(pods in pod manager that are not in a terminal state, i.e. admitted
pods) with the pod worker by resubmitting those pods. This adds a
small amount of latency (2s) when a pod UID is reused and the pod
is terminated and restarted.
2021-09-15 14:02:00 -04:00
..
api Svc REST: Add InternalTrafficPolicy tests 2021-09-11 11:30:01 -07:00
apis Merge pull request #104969 from liggitt/crd-error-validation 2021-09-13 18:01:27 -07:00
auth Update auth OWNERS files to only use aliases 2021-04-07 10:46:03 -04:00
capabilities initialize capabilities unit test 2021-03-13 10:53:47 +01:00
client Prune stale entries from OWNERS files 2021-04-13 20:54:50 -04:00
cloudprovider generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
cluster/ports refactor: disable insecure serving in controller-manager 2021-05-03 00:01:49 +08:00
controller Merge pull request #104874 from wojtek-t/migrate_clock_1 2021-09-13 19:09:20 -07:00
controlplane Merge pull request #104874 from wojtek-t/migrate_clock_1 2021-09-13 19:09:20 -07:00
credentialprovider fix Log attempts to output resp.Body 2021-09-06 23:01:03 +08:00
features Merge pull request #104045 from ravisantoshgudimetla/promote-minReadySec-sts-beta 2021-09-13 14:33:50 -07:00
fieldpath hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
generated enable verify-golangci-lint.sh 2021-07-14 08:53:33 -04:00
kubeapiserver admission: run PodSecurity before PodSecurityPolicy 2021-09-01 11:39:58 -04:00
kubectl hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
kubelet kubelet: Handle UID reuse in pod worker 2021-09-15 14:02:00 -04:00
kubemark run hack/update-netparse-cve.sh 2021-08-20 10:42:09 +02:00
printers apf: ebable v1beta2 2021-09-09 08:28:53 -04:00
probe Fix test order in /pkg/probe/http/http_test.go 2021-06-05 07:27:34 +00:00
proxy Migrate cmd/proxy/app and pkg/proxy/meta_proxier to structured logging (#104928) 2021-09-14 20:50:40 -07:00
quota/v1 Migrate to k8s.io/utils/clock in pkg/quota 2021-09-10 11:42:32 +02:00
registry Merge pull request #96345 from ingvagabund/disable-insecure-port-in-scheduler 2021-09-14 08:01:09 -07:00
routes hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
scheduler Merge pull request #104793 from h4ghhh/dynamic_event_handler 2021-09-14 18:24:40 -07:00
security generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
securitycontext Kubelet updates for Windows HostProcess Containers 2021-05-19 16:24:14 -07:00
serviceaccount allow multiple of --service-account-issuer 2021-04-19 09:54:11 -07:00
util Merge pull request #99529 from jialaijun/migrate_logs 2021-09-14 02:41:07 -07:00
volume Merge pull request #104747 from kinvolk/invidian/typos 2021-09-09 18:04:57 -07:00
windows/service generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
.import-restrictions cmd/api/testing no longer overrides pkg's rules 2020-04-28 08:46:49 -07:00
OWNERS Sign up dims for additional review roles 2020-08-08 19:08:38 -04:00