kubernetes/pkg
Clayton Coleman 1d518adb76 kubelet: Pod probes should be handled by pod worker
The pod worker is the owner of when a container is running or not,
and the start and stop of the probes for a given pod should be
handled during the pod sync loop. This ensures that probes do not
continue running even after eviction.

Because the pod semantics allow lifecycle probes to shorten grace
period, the probe is removed after the containers in a pod are
terminated successfully. As an optimization, if the pod will have
a very short grace period (0 or 1 seconds) we stop the probes
immediately to reduce resource usage during eviction slightly.

After this change, the probe manager is only called by the pod
worker or by the reconcile loop.
2022-06-06 17:00:54 -05:00
..
api Move from k8s.gcr.io to registry.k8s.io 2022-05-31 10:16:53 -04:00
apis [fix] fix and refactor TestValidateStatefulSet and TestValidateStatefulSet test cases (#109809) 2022-05-24 11:55:24 -07:00
auth Merge pull request #105598 from gy95/match 2022-01-05 09:22:38 -08:00
capabilities
client fix defer in for loop, maybe resource leak 2022-06-03 02:08:23 +09:00
cloudprovider run update-yamlfmt.sh 2022-01-10 08:14:37 -05:00
cluster/ports e2e_node/{service,util}: use kubelet healthz port. 2022-04-22 16:14:31 -07:00
controller Merge pull request #110286 from FillZpp/add-test-for-statefulset-maxunavailable 2022-06-02 10:46:07 -07:00
controlplane Merge pull request #107878 from danwinship/apiserver-endpointslice-cleanup 2022-06-01 17:55:45 -07:00
credentialprovider etcd: Update container repo to gcr.io/etcd-development/etcd 2022-04-13 19:04:01 -04:00
features CSINodeExpandSecret featuregate has to be 1.25 based 2022-05-27 10:07:55 +05:30
fieldpath
generated Move from k8s.gcr.io to registry.k8s.io 2022-05-31 10:16:53 -04:00
kubeapiserver Remove PodSecurityPolicy admission plugin 2022-05-04 16:00:56 -04:00
kubectl add server-side validation support to kubectl 2022-03-26 03:45:13 +00:00
kubelet kubelet: Pod probes should be handled by pod worker 2022-06-06 17:00:54 -05:00
kubemark Merge pull request #108066 from marseel/dont_check_type_in_hostvolule_in_kubemark 2022-02-18 00:38:24 -08:00
printers Revert "Introduce APIs to support multiple ClusterCIDRs (#108290)" 2022-04-13 13:58:19 +01:00
probe remove TODOs from http package and prober 2022-04-28 16:51:11 +00:00
proxy Merge pull request #110203 from wppzxc/add-testcases 2022-05-27 00:41:08 -07:00
quota/v1 Merge pull request #101997 from shawnhanx/pvcquota 2022-06-01 15:49:46 -07:00
registry Merge pull request #110227 from aojea/cleanup 2022-05-26 14:09:55 -07:00
routes Merge pull request #101478 from Haleygo/fix-logs-with-too-long-name-request 2022-01-06 04:53:02 -08:00
scheduler Cleanup: modify unmatch comments with stopCh 2022-05-31 11:28:02 +08:00
security Remove PodSecurityPolicy admission plugin 2022-05-04 16:00:56 -04:00
securitycontext Add missing test cases for RunAsGroup and SetRunAsGroup methods 2021-12-24 17:13:45 +08:00
serviceaccount Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
util correct coverage MainStart argument order 2022-05-05 14:00:21 -07:00
volume kubelet: fix volume reconstruction for CSI ephemeral volumes 2022-06-01 14:22:57 -06:00
windows/service Fix typo at pkg/windows/service/service.go:94 2022-03-24 07:25:33 -04:00
.import-restrictions
OWNERS OWNERS cleanup - Jan 2021 Week 1 2022-01-10 08:14:29 -05:00