- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for DeletionObserved (0.28 sec)
-
pkg/controller/replicaset/replica_set.go
return } logger.V(4).Info("Pod deleted", "delete_by", utilruntime.GetCaller(), "deletion_timestamp", pod.DeletionTimestamp, "pod", klog.KObj(pod)) rsc.expectations.DeletionObserved(logger, rsKey, controller.PodKey(pod)) rsc.queue.Add(rsKey) } // worker runs a worker thread that just dequeues items, processes them, and marks them done.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 33.2K bytes - Viewed (0) -
pkg/controller/controller_utils_test.go
// There are still delete expectations assert.False(t, e.SatisfiedExpectations(logger, rcKey), "Rc will sync before expectations are met") for i := 0; i < dels+1; i++ { wg.Add(1) go func() { e.DeletionObserved(logger, rcKey) wg.Done() }() } wg.Wait() tests := []struct { name string expectationsToSet []int expireExpectations bool
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 39.4K bytes - Viewed (0) -
pkg/controller/daemon/daemon_controller.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 51.3K bytes - Viewed (0) -
pkg/controller/job/job_controller.go
if hasFinalizer { jm.enqueueOrphanPod(pod) } return } jobKey, err := controller.KeyFunc(job) if err != nil { return } jm.expectations.DeletionObserved(logger, jobKey) // Consider the finalizer removed if this is the final delete. Otherwise, // it's an update for the deletion timestamp, then check finalizer. if final || !hasFinalizer {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 10 23:56:37 UTC 2024 - 77.6K bytes - Viewed (0) -
pkg/controller/daemon/daemon_controller_test.go
if !ok { return fmt.Errorf("pod %q does not exist", podID) } f.podStore.Delete(pod) delete(f.podIDMap, podID) ds := object.(*apps.DaemonSet) dsKey, _ := controller.KeyFunc(ds) f.expectations.DeletionObserved(klog.FromContext(ctx), dsKey) return nil } type daemonSetsController struct { *DaemonSetsController dsStore cache.Store historyStore cache.Store podStore cache.Store
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 111.4K bytes - Viewed (0)