Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 410 for syncFn (0.19 sec)

  1. pkg/proxy/node.go

    // OnNodeDelete is a handler for Node deletes.
    func (n *NodePodCIDRHandler) OnNodeDelete(node *v1.Node) {
    	n.logger.Error(nil, "Current Node is being deleted", "node", klog.KObj(node))
    }
    
    // OnNodeSynced is a handler for Node syncs.
    func (n *NodePodCIDRHandler) OnNodeSynced() {}
    
    // NodeEligibleHandler handles the life cycle of the Node's eligibility, as
    // determined by the health server for directing load balancer traffic.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. cmd/kube-controller-manager/app/options/options_test.go

    	"--concurrent-deployment-syncs=10",
    	"--concurrent-horizontal-pod-autoscaler-syncs=10",
    	"--concurrent-statefulset-syncs=15",
    	"--concurrent-endpoint-syncs=10",
    	"--concurrent-ephemeralvolume-syncs=10",
    	"--concurrent-service-endpoint-syncs=10",
    	"--concurrent-gc-syncs=30",
    	"--concurrent-namespace-syncs=20",
    	"--concurrent-job-syncs=10",
    	"--concurrent-cron-job-syncs=10",
    	"--concurrent-replicaset-syncs=10",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  3. pkg/controller/replicaset/replica_set.go

    	// rsListerSynced returns true if the pod store has been synced at least once.
    	// Added as a member to the struct to allow injection for testing.
    	rsListerSynced cache.InformerSynced
    	rsIndexer      cache.Indexer
    
    	// A store of pods, populated by the shared informer passed to NewReplicaSetController
    	podLister corelisters.PodLister
    	// podListerSynced returns true if the pod store has been synced at least once.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  4. build/release-images.sh

        CMD_TARGETS="${CMD_TARGETS} ${KUBE_CONFORMANCE_IMAGE_TARGETS[*]}"
    fi
    # include extra WHAT if specified so you can build docker images + binaries
    # in one call with a single pass of syncing to the container + generating code
    if [[ -n "${KUBE_EXTRA_WHAT:-}" ]]; then
        CMD_TARGETS="${CMD_TARGETS} ${KUBE_EXTRA_WHAT}"
    fi
    
    kube::build::verify_prereqs
    kube::build::build_image
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 16:43:08 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex.go

    }
    
    func (a *index) SyncAll() {
    	a.networkUpdateTrigger.TriggerRecomputation()
    }
    
    func (a *index) HasSynced() bool {
    	return a.services.Synced().HasSynced() &&
    		a.workloads.Synced().HasSynced() &&
    		a.waypoints.Synced().HasSynced() &&
    		a.authorizationPolicies.Synced().HasSynced()
    }
    
    type LookupNetwork func(endpointIP string, labels labels.Instance) network.ID
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 19 17:19:41 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  6. pkg/kube/kclient/crdwatcher.go

    	if fv.LessThan(mv) {
    		log.Infof("CRD %v version %v is below minimum version %v, ignoring", crd.Name, fv, mv)
    		return false
    	}
    	return true
    }
    
    // HasSynced returns whether the underlying cache has synced and the callback has been called at least once.
    func (c *crdWatcher) HasSynced() bool {
    	return c.queue.HasSynced()
    }
    
    // Run starts the controller. This must be called.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. 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)
  8. pkg/controller/podautoscaler/config/types.go

    type HPAControllerConfiguration struct {
    	// ConcurrentHorizontalPodAutoscalerSyncs is the number of HPA objects that are allowed to sync concurrently.
    	// Larger number = more responsive HPA processing, but more CPU (and network) load.
    	ConcurrentHorizontalPodAutoscalerSyncs int32
    	// horizontalPodAutoscalerSyncPeriod is the period for syncing the number of
    	// pods in horizontal pod autoscaler.
    	HorizontalPodAutoscalerSyncPeriod metav1.Duration
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 19 09:49:23 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. pkg/controller/certificates/certificate_controller.go

    	if err := cc.syncFunc(ctx, cKey); err != nil {
    		cc.queue.AddRateLimited(cKey)
    		if _, ignorable := err.(ignorableError); !ignorable {
    			utilruntime.HandleError(fmt.Errorf("Sync %v failed with : %v", cKey, err))
    		} else {
    			klog.FromContext(ctx).V(4).Info("Sync certificate request failed", "csr", cKey, "err", err)
    		}
    		return true
    	}
    
    	cc.queue.Forget(cKey)
    	return true
    
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. pkg/kube/krt/internal.go

    // registerHandlerAsBatched is a helper to register the provided handler as a batched handler. This allows collections to
    // only implement RegisterBatch.
    func registerHandlerAsBatched[T any](c internalCollection[T], f func(o Event[T])) Syncer {
    	return c.RegisterBatch(func(events []Event[T], initialSync bool) {
    		for _, o := range events {
    			f(o)
    		}
    	}, true)
    }
    
    // castEvent converts an Event[I] to Event[O].
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top