- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 100 for sync_bg (1.9 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/internal/generic/controller_test.go
wg.Add(1) go func() { defer wg.Done() stopReason := myController.Run(testContext) require.ErrorIs(t, stopReason, context.DeadlineExceeded) }() // Wait for deadline to pass without syncing the cache require.False(t, cache.WaitForCacheSync(testContext.Done(), myController.HasSynced)) // Wait for controller to stop (or context deadline will pass quickly) wg.Wait()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 12 18:58:24 UTC 2024 - 16.1K bytes - Viewed (0) -
pkg/kubelet/kubelet.go
go kl.fastStatusUpdateOnce() // start syncing lease go kl.nodeLeaseController.Run(context.Background()) } go wait.Until(kl.updateRuntimeUp, 5*time.Second, wait.NeverStop) // Set up iptables util rules if kl.makeIPTablesUtilChains { kl.initNetworkUtil() } // Start component sync loops. kl.statusManager.Start() // Start syncing RuntimeClasses if enabled.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 126.1K bytes - Viewed (0) -
pilot/pkg/config/kube/crdclient/client.go
cl.queue.Run(stop) cl.logger.Infof("controller terminated") } func (cl *Client) informerSynced() bool { for gk, ctl := range cl.allKinds() { if !ctl.HasSynced() { cl.logger.Infof("controller %q is syncing...", gk) return false } } return true } func (cl *Client) HasSynced() bool { return cl.queue.HasSynced() } // Schemas for the store
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 00:12:28 UTC 2024 - 13.7K bytes - Viewed (0) -
pkg/controller/daemon/daemon_controller.go
// Delete expectations for the DaemonSet so if we create a new one with the same name it starts clean dsc.expectations.DeleteExpectations(logger, key) dsc.queue.Add(key) } // Run begins watching and syncing daemon sets. func (dsc *DaemonSetsController) Run(ctx context.Context, workers int) { defer utilruntime.HandleCrash() dsc.eventBroadcaster.StartStructuredLogging(3)
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/cronjob/cronjob_controllerv2.go
}, DeleteFunc: func(obj interface{}) { jm.enqueueController(obj) }, }) metrics.Register() return jm, nil } // Run starts the main goroutine responsible for watching and syncing jobs. func (jm *ControllerV2) Run(ctx context.Context, workers int) { defer utilruntime.HandleCrash() // Start event processing pipeline. jm.broadcaster.StartStructuredLogging(3)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 03:34:25 UTC 2024 - 29.2K bytes - Viewed (0) -
pkg/kubelet/pleg/evented.go
// The runtime service. runtimeService internalapi.RuntimeService // The channel from which the subscriber listens events. eventChannel chan *PodLifecycleEvent // Cache for storing the runtime states required for syncing pods. cache kubecontainer.Cache // For testability. clock clock.Clock // GenericPLEG is used to force relist when required. genericPleg podLifecycleEventGeneratorHandler
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 10:46:06 UTC 2024 - 16.4K bytes - Viewed (0) -
pkg/kubelet/prober/prober_manager_test.go
} func TestUpdateReadiness(t *testing.T) { testPod := getTestPod() setTestProbe(testPod, readiness, v1.Probe{}) m := newTestManager() defer cleanup(t, m) // Start syncing readiness without leaking goroutine. stopCh := make(chan struct{}) go wait.Until(m.extractedReadinessHandling, 0, stopCh) defer func() { close(stopCh) // Send an update to exit extractedReadinessHandling()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 18.8K bytes - Viewed (0) -
cni/pkg/nodeagent/net.go
var addedIPSnapshot []netip.Addr for _, pod := range ambientPods { podIPs := util.GetPodIPsIfPresent(pod) if len(podIPs) == 0 { log.Warnf("pod %s does not appear to have any assigned IPs, not syncing with ipset", pod.Name) } else { addedIps, err := addPodToHostNSIpset(pod, podIPs, &s.hostsideProbeIPSet) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 05:10:23 UTC 2024 - 13.4K bytes - Viewed (0) -
pkg/controller/deployment/deployment_controller_test.go
defer close(stopCh) informers.Start(stopCh) } err = c.syncDeployment(ctx, deploymentName) if !expectError && err != nil { f.t.Errorf("error syncing deployment: %v", err) } else if expectError && err == nil { f.t.Error("expected error syncing deployment, got nil") } actions := filterInformerActions(f.client.Actions()) for i, action := range actions { if len(f.actions) < i+1 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 32.5K bytes - Viewed (0) -
pkg/controller/replicaset/replica_set.go
}, }) rsc.podLister = podInformer.Lister() rsc.podListerSynced = podInformer.Informer().HasSynced rsc.syncHandler = rsc.syncReplicaSet return rsc } // Run begins watching and syncing. func (rsc *ReplicaSetController) Run(ctx context.Context, workers int) { defer utilruntime.HandleCrash() // Start events processing pipeline. rsc.eventBroadcaster.StartStructuredLogging(3)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 33.2K bytes - Viewed (0)