- Sort Score
- Result 10 results
- Languages All
Results 11 - 19 of 19 for resyncPeriod (0.33 sec)
-
pkg/kubelet/volume_host.go
var csiDriverLister storagelisters.CSIDriverLister var csiDriversSynced cache.InformerSynced const resyncPeriod = 0 // Don't initialize if kubeClient is nil if kubelet.kubeClient != nil { informerFactory = informers.NewSharedInformerFactory(kubelet.kubeClient, resyncPeriod) csiDriverInformer := informerFactory.Storage().V1().CSIDrivers() csiDriverLister = csiDriverInformer.Lister()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 11:00:37 UTC 2024 - 10K bytes - Viewed (0) -
pkg/kubelet/cm/dra/plugin/noderesources.go
"k8s.io/client-go/util/workqueue" "k8s.io/klog/v2" drapb "k8s.io/kubelet/pkg/apis/dra/v1alpha3" "k8s.io/utils/ptr" ) const ( // resyncPeriod for informer // TODO (https://github.com/kubernetes/kubernetes/issues/123688): disable? resyncPeriod = time.Duration(10 * time.Minute) retryPeriod = 5 * time.Second maxRetryPeriod = 180 * time.Second
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 20:12:53 UTC 2024 - 16.6K bytes - Viewed (0) -
pkg/controller/replication/conversion.go
} func (i conversionInformer) AddEventHandlerWithResyncPeriod(handler cache.ResourceEventHandler, resyncPeriod time.Duration) (cache.ResourceEventHandlerRegistration, error) { return i.SharedIndexInformer.AddEventHandlerWithResyncPeriod(conversionEventHandler{handler}, resyncPeriod) } type conversionLister struct { rcLister v1listers.ReplicationControllerLister }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Dec 14 18:43:33 UTC 2022 - 12.7K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/pv_controller_base.go
claimQueue: workqueue.NewTypedWithConfig(workqueue.TypedQueueConfig[string]{Name: "claims"}), volumeQueue: workqueue.NewTypedWithConfig(workqueue.TypedQueueConfig[string]{Name: "volumes"}), resyncPeriod: p.SyncPeriod, operationTimestamps: metrics.NewOperationStartTimeCache(), } // Prober is nil because PV is not aware of Flexvolume.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 08:42:31 UTC 2024 - 29.5K bytes - Viewed (0) -
cmd/kube-controller-manager/app/core.go
ResyncPeriod: pkgcontroller.StaticResyncPeriodFunc(controllerContext.ComponentConfig.ResourceQuotaController.ResourceQuotaSyncPeriod.Duration), InformerFactory: controllerContext.ObjectOrMetadataInformerFactory, ReplenishmentResyncPeriod: controllerContext.ResyncPeriod, DiscoveryFunc: discoveryFunc,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 08:42:31 UTC 2024 - 39K bytes - Viewed (0) -
pkg/controller/controller_utils.go
) type ResyncPeriodFunc func() time.Duration // Returns 0 for resyncPeriod in case resyncing is not needed. func NoResyncPeriodFunc() time.Duration { return 0 } // StaticResyncPeriodFunc returns the resync period specified func StaticResyncPeriodFunc(resyncPeriod time.Duration) ResyncPeriodFunc { return func() time.Duration { return resyncPeriod } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 12 15:34:44 UTC 2024 - 47.6K bytes - Viewed (0) -
pkg/controller/resourcequota/resource_quota_controller_test.go
close(alwaysStarted) resourceQuotaControllerOptions := &ControllerOptions{ QuotaClient: kubeClient.CoreV1(), ResourceQuotaInformer: informerFactory.Core().V1().ResourceQuotas(), ResyncPeriod: controller.NoResyncPeriodFunc, ReplenishmentResyncPeriod: controller.NoResyncPeriodFunc, IgnoredResourcesFunc: quotaConfiguration.IgnoredResources, DiscoveryFunc: discoveryFunc,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 12 16:29:33 UTC 2023 - 42.6K bytes - Viewed (0) -
pkg/controller/job/job_controller_test.go
t.Helper() return newControllerFromClientWithClock(ctx, t, kubeClient, resyncPeriod, realClock) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 15:36:36 UTC 2024 - 229.2K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/pv_controller.go
eventBroadcaster record.EventBroadcaster eventRecorder record.EventRecorder volumePluginMgr vol.VolumePluginMgr enableDynamicProvisioning bool resyncPeriod time.Duration // Cache of the last known version of volumes and claims. This cache is // thread safe as long as the volumes/claims there are not modified, they
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 08:42:31 UTC 2024 - 89.2K bytes - Viewed (0)