- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for workqueue (0.23 sec)
-
pkg/controller/nodelifecycle/node_lifecycle_controller.go
unhealthyZoneThreshold: unhealthyZoneThreshold, nodeUpdateQueue: workqueue.NewTypedWithConfig(workqueue.TypedQueueConfig[string]{Name: "node_lifecycle_controller"}), podUpdateQueue: workqueue.NewTypedRateLimitingQueueWithConfig( workqueue.DefaultTypedControllerRateLimiter[podUpdateItem](), workqueue.TypedRateLimitingQueueConfig[podUpdateItem]{ Name: "node_lifecycle_controller_pods", }, ),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 51.6K bytes - Viewed (0) -
pkg/kubelet/pod_workers.go
startedStaticPodsByFullname map[string]types.UID // Tracks all uids for static pods that are waiting to start by full name waitingToStartStaticPodsByFullname map[string][]types.UID workQueue queue.WorkQueue // This function is run to sync the desired state of pod. // NOTE: This function has to be thread-safe - it can be called for // different pods at the same time. podSyncer podSyncer
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 02 13:22:37 UTC 2024 - 74.8K bytes - Viewed (0) -
pkg/controller/job/job_controller.go
finalizerExpectations: newUIDTrackingExpectations(), queue: workqueue.NewTypedRateLimitingQueueWithConfig(workqueue.NewTypedItemExponentialFailureRateLimiter[string](DefaultJobApiBackOff, MaxJobApiBackOff), workqueue.TypedRateLimitingQueueConfig[string]{Name: "job", Clock: clock}),
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/cronjob/cronjob_controllerv2_test.go
t.Errorf("unexpected error %v", err) return } jm.now = justASecondBeforeTheHour queue := &fakeQueue{TypedRateLimitingInterface: workqueue.NewTypedRateLimitingQueueWithConfig( workqueue.DefaultTypedControllerRateLimiter[string](), workqueue.TypedRateLimitingQueueConfig[string]{ Name: "test-update-cronjob", }, )} jm.queue = queue jm.jobControl = &fakeJobControl{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 70.8K bytes - Viewed (0) -
pkg/controller/daemon/daemon_controller.go
KubeClient: kubeClient, }, burstReplicas: BurstReplicas, expectations: controller.NewControllerExpectations(), queue: workqueue.NewTypedRateLimitingQueueWithConfig( workqueue.DefaultTypedControllerRateLimiter[string](), workqueue.TypedRateLimitingQueueConfig[string]{ Name: "daemonset", }, ), } daemonSetInformer.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{
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/replicaset/replica_set_test.go
fakePodControl := controller.FakePodControl{} manager.podControl = &fakePodControl // Enqueue once. Then process it. Disable rate-limiting for this. manager.queue = workqueue.NewTypedRateLimitingQueue(workqueue.NewTypedMaxOfRateLimiter[string]()) manager.enqueueRS(rs) manager.processNextWorkItem(ctx) // It should have been requeued. if got, want := manager.queue.Len(), 1; got != want {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 69.2K bytes - Viewed (0) -
pkg/controller/podautoscaler/horizontal.go
hpaNamespacer: hpaNamespacer, downscaleStabilisationWindow: downscaleStabilisationWindow, monitor: monitor.New(), queue: workqueue.NewTypedRateLimitingQueueWithConfig( NewDefaultHPARateLimiter(resyncPeriod), workqueue.TypedRateLimitingQueueConfig[string]{ Name: "horizontalpodautoscaler", }, ), mapper: mapper,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 63.6K bytes - Viewed (0) -
pkg/kubelet/pod_workers_test.go
} // verify all are enqueued if e, a := sets.New[string]("1-normal", "2-static", "4-static", "3-static"), podWorkers.workQueue.(*fakeQueue).Set(); !e.Equal(a) { t.Fatalf("unexpected queued items: %s", cmp.Diff(e, a)) } // send a basic update for 3-static podWorkers.workQueue.GetWork() podWorkers.UpdatePod(UpdatePodOptions{ Pod: newNamedPod("3-static", "test1", "pod1", true),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 75.6K bytes - Viewed (0) -
pkg/controller/disruption/disruption_test.go
} } func TestUpdateDisruptedPods(t *testing.T) { _, ctx := ktesting.NewTestContext(t) dc, ps := newFakeDisruptionController(ctx) dc.recheckQueue = workqueue.NewTypedDelayingQueueWithConfig(workqueue.TypedDelayingQueueConfig[string]{Name: "pdb_queue"}) pdb, pdbName := newMinAvailablePodDisruptionBudget(t, intstr.FromInt32(1)) currentTime := dc.clock.Now()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 50K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/pv_controller.go
// version errors in API server and other checks in this controller), // however overall speed of multi-worker controller would be lower than if // it runs single thread only. claimQueue *workqueue.Typed[string] volumeQueue *workqueue.Typed[string] // Map of scheduled/running operations. runningOperations goroutinemap.GoRoutineMap // For testing only: hook to call before an asynchronous operation starts.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 08:42:31 UTC 2024 - 89.2K bytes - Viewed (0)