kubernetes/pkg/controller
Patrick Ohly 29e92367db DRA device taints: avoid unnecessary Pod lookup
When rapidly processing informer events it can happen that a pod gets scheduled
twice (seen only in the TestEviction/update unit test):

- Claim update observed, pod from informer cache with NodeName from update -> queue pod for eviction.
- Pod update observed, claim from informer cache -> queue pod again.

The effect is one additional Get call to the apiserver. We can avoid it by
maintaining an LRU cache with the UIDs of the pods which we have evicted and
thus don't need to do anything for.
2026-02-27 14:38:30 +01:00
..
apis/config Make ConcurrentResourceClaimSyncs configurable (#134701) 2026-01-08 19:31:39 +05:30
bootstrap controller/bootstrap: Improve goroutine mgmt 2025-10-29 18:55:53 +01:00
certificates client-go testing: fix List+Watch support 2026-01-15 16:08:23 +01:00
clusterroleaggregation controller/clusterroleaggregation: Improve goroutine mgmt 2025-10-29 19:00:30 +01:00
cronjob controller/cronjob: Improve goroutine mgmt 2025-10-29 19:00:30 +01:00
daemon KEP-5471: Extend tolerations operators (#134665) 2025-11-10 12:42:54 -08:00
deployment Eliminate duplicate scale methods deployment controller in favor of a parameter 2026-01-15 13:50:39 +01:00
devicetainteviction DRA device taints: avoid unnecessary Pod lookup 2026-02-27 14:38:30 +01:00
disruption controller/disruption: Improve goroutine mgmt 2025-10-29 19:00:31 +01:00
endpoint controller/endpoint: Improve goroutine mgmt 2025-10-29 19:00:31 +01:00
endpointslice Drop TopologyAwareHints and ServiceTraficDistribution feature gates 2026-01-09 12:42:34 -05:00
endpointslicemirroring Fix unit tests 2026-01-29 17:55:08 -05:00
garbagecollector Merge pull request #136040 from petern48/error-level-logs 2026-01-28 03:27:48 +05:30
history Add index for controller revision 2026-01-13 19:46:34 +00:00
job Merge pull request #133797 from tico88612/cleanup/new-fake-with-options 2026-01-08 03:01:38 +05:30
namespace controller/namespace: Improve goroutine mgmt 2025-10-29 19:04:37 +01:00
nodeipam Fix goroutine leak in TestNodeSyncResync 2025-11-11 21:19:28 +05:30
nodelifecycle nodelifecycle: fix processing deleted pod events, which are currently missed 2026-01-31 10:49:15 +08:00
podautoscaler Merge pull request #133797 from tico88612/cleanup/new-fake-with-options 2026-01-08 03:01:38 +05:30
podgc controller/podgc: Improve goroutine mgmt 2025-10-29 19:04:37 +01:00
replicaset Remove usage of deprecated functions from ktesting package 2026-01-29 14:51:59 +05:30
replication disable terminatingReplicas reconciliation in ReplicationController 2025-05-30 21:08:12 +02:00
resourceclaim Remove usage of deprecated functions from ktesting package 2026-01-29 14:51:59 +05:30
resourcequota Merge pull request #136040 from petern48/error-level-logs 2026-01-28 03:27:48 +05:30
serviceaccount Service account controller: Wire through context 2025-12-04 19:30:55 -05:00
servicecidrs controller/servicecidrs: Improve goroutine mgmt 2025-10-29 19:07:10 +01:00
statefulset Remove usage of deprecated functions from ktesting package 2026-01-29 14:51:59 +05:30
storageversiongc Merge pull request #134432 from Karthik-K-N/fix-sv-test 2025-11-05 06:56:52 -08:00
storageversionmigrator Correct the usage of vlog's .Error() or .V().Info() methods 2026-01-06 20:31:04 -05:00
tainteviction KEP-5471: Extend tolerations operators (#134665) 2025-11-10 12:42:54 -08:00
testutil Replace NewFake with NewFakeWithOptions in pkg/controller 2025-09-11 08:39:49 +08:00
ttl controller/ttl: Improve goroutine mgmt 2025-10-29 19:04:37 +01:00
ttlafterfinished controller/ttlafterfinished: Improve goroutine mgmt 2025-10-29 19:04:37 +01:00
util Fix Go vet errors for master golang 2024-09-20 12:36:38 +05:30
validatingadmissionpolicystatus controller/validatingadmissionpolicystatus: Improve goroutine mgmt 2025-10-29 19:07:10 +01:00
volume Merge pull request #136775 from atombrella/feature/activate_modernize_slicessort 2026-02-10 05:43:57 +05:30
controller_ref_manager.go kube-controller-manager: finish conversion to contextual logging 2023-07-12 14:57:29 +02:00
controller_ref_manager_test.go Merge pull request #101250 from evertrain/master 2021-11-10 09:19:26 -08:00
controller_utils.go Include relevant dimensions in pod controller indexing 2025-10-16 13:27:50 -04:00
controller_utils_test.go Include relevant dimensions in pod controller indexing 2025-10-16 13:27:50 -04:00
doc.go remove import doc comments 2024-12-02 16:59:34 +01:00
OWNERS Add jefftree to OWNERS 2025-08-04 19:12:13 +00:00