Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 217 for syncPod (0.19 sec)

  1. pkg/controller/garbagecollector/graph_builder.go

    	defer gb.monitorLock.Unlock()
    
    	if len(gb.monitors) == 0 {
    		logger.V(4).Info("garbage controller monitor not synced: no monitors")
    		return false
    	}
    
    	for resource, monitor := range gb.monitors {
    		if !monitor.controller.HasSynced() {
    			logger.V(4).Info("garbage controller monitor not yet synced", "resource", resource)
    			return false
    		}
    	}
    	return true
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  2. pkg/kube/krt/static.go

    }
    
    func (s *staticList[T]) List() []T {
    	return maps.Values(s.vals)
    }
    
    func (s *staticList[T]) Register(f func(o Event[T])) Syncer {
    	return registerHandlerAsBatched(s, f)
    }
    
    func (s *staticList[T]) Synced() Syncer {
    	return alwaysSynced{}
    }
    
    func (s *staticList[T]) RegisterBatch(f func(o []Event[T], initialSync bool), runExistingState bool) Syncer {
    	if runExistingState {
    		f(slices.Map(s.List(), func(e T) Event[T] {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. pkg/controller/resourcequota/resource_quota_controller.go

    	rqClient corev1client.ResourceQuotasGetter
    	// A lister/getter of resource quota objects
    	rqLister corelisters.ResourceQuotaLister
    	// A list of functions that return true when their caches have synced
    	informerSyncedFuncs []cache.InformerSynced
    	// ResourceQuota objects that need to be synchronized
    	queue workqueue.TypedRateLimitingInterface[string]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  4. architecture/networking/controllers.md

    A queue is used to give a few properties:
    * Ability to serially process updates received from a variety of different sources. This avoids need for other synchronization mechanisms like mutexes.
    * Correctness at startup; with the sequencing above, items are only processed once all informers are synced. This means queries will not return stale data at startup.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 09 17:41:25 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. pkg/kubelet/clustertrustbundle/clustertrustbundle_manager.go

    func (m *InformerManager) GetTrustAnchorsByName(name string, allowMissing bool) ([]byte, error) {
    	if !m.ctbInformer.HasSynced() {
    		return nil, fmt.Errorf("ClusterTrustBundle informer has not yet synced")
    	}
    
    	cacheKey := cacheKeyType{ctbName: name}
    
    	if cachedAnchors, ok := m.normalizationCache.Get(cacheKey); ok {
    		return cachedAnchors.([]byte), nil
    	}
    
    	ctb, err := m.ctbLister.Get(name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  6. pkg/kube/watcher/configmapwatcher/configmapwatcher.go

    	c.configmaps.Start(stop)
    	if !kube.WaitForCacheSync("configmap "+c.configMapName, stop, c.configmaps.HasSynced) {
    		return
    	}
    	c.queue.Run(stop)
    }
    
    // HasSynced returns whether the underlying cache has synced and the callback has been called at least once.
    func (c *Controller) HasSynced() bool {
    	return c.queue.HasSynced()
    }
    
    func (c *Controller) processItem(name types.NamespacedName) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 19 07:11:52 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. build/build-image/rsyncd.sh

    # Usually it'll be run as non-dockerized UID/GID and end up translating all file
    # ownership to that.
    
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    # The directory that gets sync'd
    VOLUME=${HOME}
    
    # Assume that this is running in Docker on a bridge.  Allow connections from
    # anything on the local subnet.
    ALLOW=$(ip route | awk  '/^default via/ { reg = "^[0-9./]+ dev "$5 } ; $0 ~ reg { print $1 }')
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 04 15:58:52 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/internal/generic/interface.go

    	Run(ctx context.Context) error
    
    	// Retrieves the informer used to back this controller
    	Informer() Informer[T]
    
    	// Returns true if the informer cache has synced, and all the objects from
    	// the initial list have been reconciled at least once.
    	HasSynced() bool
    }
    
    type NamespacedLister[T any] interface {
    	// List lists all ValidationRuleSets in the indexer for a given namespace.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 12 18:58:24 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. docs/bucket/replication/DESIGN.md

    `GET/HEAD` operations if object or object version requested qualifies for replication and is missing on one site, but present on the other. This allows the applications to take full advantage of two-way replication even before the two sites get fully synced.
    
    In the case of multi destination replication, the replication status shows `COMPLETED` only after the replication operation succeeds on each of the targets specified in the replication configuration. If multiple targets are configured to...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 14.7K bytes
    - Viewed (0)
  10. pkg/controller/resourcequota/resource_quota_monitor.go

    	qm.monitorLock.RLock()
    	defer qm.monitorLock.RUnlock()
    
    	if len(qm.monitors) == 0 {
    		logger.V(4).Info("quota monitor not synced: no monitors")
    		return false
    	}
    
    	for resource, monitor := range qm.monitors {
    		if !monitor.controller.HasSynced() {
    			logger.V(4).Info("quota monitor not synced", "resource", resource)
    			return false
    		}
    	}
    	return true
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top