kubernetes/pkg/controller
Alessio Attilio ae3163eeca Fix issue 136525: Handle NotFound errors in garbage collector
When objects are deleted externally (e.g., pods deleted directly after
job deletion), the garbage collector should not log errors. This change
adds explicit NotFound error handling in attemptToDeleteItem to enqueue
virtual delete events when deleteObject returns NotFound, treating
external deletion as a successful outcome.

This follows the same pattern already used when getObject returns
NotFound, ensuring consistency across the function.
2026-02-13 00:01:22 +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 Remove fmt.Println() added for debug 2026-01-22 18:34:15 +05:30
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 Fix issue 136525: Handle NotFound errors in garbage collector 2026-02-13 00:01:22 +01:00
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 controller/nodelifecycle: Improve goroutine mgmt 2025-10-29 19:04:38 +01: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 #136050 from ShaanveerS/fix-selinuxwarning-verbosity 2026-01-29 21:11:58 +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