- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 410 for syncFn (0.27 sec)
-
pilot/pkg/serviceregistry/aggregate/controller.go
c.storeLock.Unlock() <-stop log.Info("Registry Aggregator terminated") } // HasSynced returns true when all registries have synced func (c *Controller) HasSynced() bool { for _, r := range c.GetRegistries() { if !r.HasSynced() { log.Debugf("registry %s is syncing", r.Cluster()) return false } } return true } func (c *Controller) AppendServiceHandler(f model.ServiceHandler) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 06:28:11 UTC 2024 - 13.5K bytes - Viewed (0) -
pkg/controller/certificates/rootcacertpublisher/publisher.go
utilruntime.HandleError(fmt.Errorf("syncing %q failed: %v", key, err)) c.queue.AddRateLimited(key) return true } c.queue.Forget(key) return true } func (c *Publisher) syncNamespace(ctx context.Context, ns string) (err error) { startTime := time.Now() defer func() { recordMetrics(startTime, err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 6.8K bytes - Viewed (0) -
pilot/pkg/config/kube/crdclient/client.go
cl.logger.Errorf("Failed to sync Pilot K8S CRD controller cache") return } cl.logger.Infof("Pilot K8S CRD controller synced in %v", time.Since(t0)) 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 } }
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/registry/core/service/ipallocator/controller/repairip.go
if !cache.WaitForNamedCacheSync("ipallocator-repair-controller", stopCh, r.ipAddressSynced, r.servicesSynced, r.serviceCIDRSynced) { return } // First sync goes through all the Services and IPAddresses in the cache, // once synced, it signals the main loop and works using the handlers, since // it's less expensive and more optimal. if err := r.runOnce(); err != nil { runtime.HandleError(err) return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 24.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/internal/generic/controller.go
if !cache.WaitForNamedCacheSync(c.options.Name, ctx.Done(), c.informer.HasSynced) { // ctx cancelled during cache sync. return early err := ctx.Err() if err == nil { // if context wasnt cancelled then the sync failed for another reason err = errors.New("cache sync failed") } return err } waitGroup := sync.WaitGroup{} for i := uint(0); i < c.options.Workers; i++ { waitGroup.Add(1) go func() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 7.5K bytes - Viewed (0) -
cmd/kube-controller-manager/app/options/hpacontroller.go
fs.DurationVar(&o.HorizontalPodAutoscalerSyncPeriod.Duration, "horizontal-pod-autoscaler-sync-period", o.HorizontalPodAutoscalerSyncPeriod.Duration, "The period for syncing...
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun May 19 09:49:23 UTC 2024 - 3.8K bytes - Viewed (0) -
pkg/proxy/iptables/proxier.go
defer proxier.mu.Unlock() // don't sync rules till we've received services and endpoints if !proxier.isInitialized() { proxier.logger.V(2).Info("Not syncing iptables until Services and Endpoints have been received from master") return } // The value of proxier.needFullSync may change before the defer funcs run, so // we need to keep track of whether it was set at the *start* of the sync. tryPartialSync := !proxier.needFullSync
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 14:39:54 UTC 2024 - 65.1K bytes - Viewed (0) -
cni/pkg/nodeagent/net.go
// // 1. Constructs a ztunnel state message to initialize ztunnel // 2. Syncs the host ipset func (s *NetServer) ConstructInitialSnapshot(ambientPods []*corev1.Pod) error { var consErr []error if err := s.syncHostIPSets(ambientPods); err != nil { log.Warnf("failed to sync host IPset: %v", err) consErr = append(consErr, err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 05:10:23 UTC 2024 - 13.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/healthz/healthz.go
See the License for the specific language governing permissions and limitations under the License. */ package healthz import ( "bytes" "context" "fmt" "net/http" "reflect" "strings" "sync" "sync/atomic" "time" "k8s.io/apimachinery/pkg/util/sets" "k8s.io/apimachinery/pkg/util/wait" "k8s.io/apiserver/pkg/endpoints/metrics" "k8s.io/apiserver/pkg/server/httplog"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 19:11:24 UTC 2024 - 10.5K bytes - Viewed (0) -
cmd/kube-controller-manager/app/options/persistentvolumebindercontroller.go
func (o *PersistentVolumeBinderControllerOptions) AddFlags(fs *pflag.FlagSet) { if o == nil { return } fs.DurationVar(&o.PVClaimBinderSyncPeriod.Duration, "pvclaimbinder-sync-period", o.PVClaimBinderSyncPeriod.Duration, "The period for syncing persistent volumes and persistent volume claims")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 02:59:09 UTC 2024 - 4.8K bytes - Viewed (0)