Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 242 for syncPod (0.73 sec)

  1. pkg/proxy/healthcheck/proxier_health.go

    			// or the proxier is fully synced.
    			continue
    		}
    
    		if currentTime.Sub(hs.oldestPendingQueuedMap[ipFamily]) < hs.healthTimeout {
    			// there's an unprocessed update queued for this proxier, but it's not late yet.
    			continue
    		}
    		return false, proxierLastUpdated
    	}
    	return true, lastUpdated
    }
    
    // SyncNode syncs the node and determines if it is eligible or not. Eligible is
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 16 10:41:18 UTC 2023
    - 8K bytes
    - Viewed (0)
  2. pkg/controller/nodeipam/ipam/range_allocator.go

    			utilruntime.HandleError(fmt.Errorf("expected string in workNodeQueue but got %#v", obj))
    			return nil
    		}
    		// Run the syncHandler, passing it the namespace/name string of the
    		// Foo resource to be synced.
    		if err := r.syncNode(ctx, key); err != nil {
    			// Put the item back on the queue to handle any transient errors.
    			r.queue.AddRateLimited(key)
    			return fmt.Errorf("error syncing '%s': %s, requeuing", key, err.Error())
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 10:06:15 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. pkg/controller/nodeipam/ipam/sync/sync.go

    //
    // This method is safe to call from multiple goroutines.
    func (sync *NodeSync) Delete(node *v1.Node) {
    	sync.opChan <- &deleteOp{node}
    	close(sync.opChan)
    }
    
    // syncOp is the interface for generic sync operation.
    type syncOp interface {
    	// run the requested sync operation.
    	run(logger klog.Logger, sync *NodeSync) error
    }
    
    // updateOp handles creation and updates of a node.
    type updateOp struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 07:50:01 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/pilot/testdata/multiXdsStatusMultiPilot.txt

    NAME       CLUSTER      CDS          LDS         EDS         RDS          ECDS         ISTIOD      VERSION
    proxy1     cluster1     STALE        SYNCED      SYNCED      NOT SENT     SYNCED       istiod1     1.20
    proxy2     cluster2     STALE        SYNCED      STALE       SYNCED       STALE        istiod2     1.19
    proxy3     cluster3     NOT SENT     ERROR       STALE       NOT SENT     NOT SENT     istiod3     1.20
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 03:42:52 UTC 2024
    - 522 bytes
    - Viewed (0)
  5. pkg/kube/krt/join.go

    		o.name = fmt.Sprintf("Join[%v]", ptr.TypeName[T]())
    	}
    	synced := make(chan struct{})
    	c := slices.Map(cs, func(e Collection[T]) internalCollection[T] {
    		return e.(internalCollection[T])
    	})
    	go func() {
    		for _, c := range c {
    			if !c.Synced().WaitUntilSynced(o.stop) {
    				return
    			}
    		}
    		close(synced)
    		log.Infof("%v synced", o.name)
    	}()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/pilot/testdata/multiXdsStatusSinglePilot.txt

    NAME       CLUSTER      CDS       LDS        EDS        RDS          ECDS         ISTIOD      VERSION
    proxy1     cluster1     STALE     SYNCED     SYNCED     NOT SENT     NOT SENT     istiod1     1.20
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 03:42:52 UTC 2024
    - 300 bytes
    - Viewed (0)
  7. pkg/kube/multicluster/secretcontroller_test.go

    		{ID: "config", SyncStatus: "synced"},
    		{ID: "c0", SecretName: "istio-system/s0", SyncStatus: "synced"},
    		{ID: "c1", SecretName: "istio-system/s1", SyncStatus: "synced"},
    	})
    
    	// Remove one
    	c.DeleteSecret("s1")
    	assert.EventuallyEqual(t, c.controller.ListRemoteClusters, []cluster.DebugInfo{
    		{ID: "config", SyncStatus: "synced"},
    		{ID: "c0", SecretName: "istio-system/s0", SyncStatus: "synced"},
    	})
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. pkg/kube/krt/sync.go

    	_ Syncer = channelSyncer{}
    	_ Syncer = pollSyncer{}
    )
    
    type channelSyncer struct {
    	name   string
    	synced <-chan struct{}
    }
    
    func (c channelSyncer) WaitUntilSynced(stop <-chan struct{}) bool {
    	return waitForCacheSync(c.name, stop, c.synced)
    }
    
    func (c channelSyncer) HasSynced() bool {
    	select {
    	case <-c.synced:
    		return true
    	default:
    		return false
    	}
    }
    
    type pollSyncer struct {
    	name string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 03 14:25:07 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. pkg/kube/krt/informer.go

    var _ internalCollection[controllers.Object] = &informer[controllers.Object]{}
    
    func (i *informer[I]) _internalHandler() {}
    
    func (i *informer[I]) Synced() Syncer {
    	return channelSyncer{
    		name:   i.collectionName,
    		synced: i.synced,
    	}
    }
    
    // nolint: unused // (not true, its to implement an interface)
    func (i *informer[I]) dump() {
    	i.log.Errorf(">>> BEGIN DUMP")
    	for _, obj := range i.inf.List(metav1.NamespaceAll, klabels.Everything()) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 11:01:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. pkg/proxy/node.go

    func (n *NodeEligibleHandler) OnNodeAdd(node *v1.Node) { n.HealthServer.SyncNode(node) }
    
    // OnNodeUpdate is a handler for Node updates.
    func (n *NodeEligibleHandler) OnNodeUpdate(_, node *v1.Node) { n.HealthServer.SyncNode(node) }
    
    // OnNodeDelete is a handler for Node deletes.
    func (n *NodeEligibleHandler) OnNodeDelete(node *v1.Node) { n.HealthServer.SyncNode(node) }
    
    // OnNodeSynced is a handler for Node syncs.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top