Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ReconcileEndpoints (0.18 sec)

  1. pkg/controlplane/reconcilers/lease.go

    		masterLeases: masterLeases,
    	}
    }
    
    // ReconcileEndpoints lists keys in a special etcd directory.
    // Each key is expected to have a TTL of R+n, where R is the refresh interval
    // at which this function is called, and n is some small value.  If an
    // apiserver goes down, it will fail to refresh its key's TTL and the key will
    // expire. ReconcileEndpoints will notice that the endpoints object is
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  2. pkg/controlplane/reconcilers/lease_test.go

    				}
    
    				// reconcile endpoints in another goroutine
    				err = r.ReconcileEndpoints(test.serviceName, netutils.ParseIPSloppy(test.ip), test.endpointPorts, false)
    				if err != nil {
    					t.Errorf("unexpected error reconciling: %v", err)
    				}
    			} else {
    				// reconcile endpoints first
    				err = r.ReconcileEndpoints(test.serviceName, netutils.ParseIPSloppy(test.ip), test.endpointPorts, false)
    				if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 28.7K bytes
    - Viewed (0)
  3. pkg/controlplane/reconcilers/instancecount_test.go

    			epAdapter := NewEndpointsAdapter(fakeClient.CoreV1(), fakeClient.DiscoveryV1())
    			reconciler := NewMasterCountEndpointReconciler(test.additionalMasters+1, epAdapter)
    			err := reconciler.ReconcileEndpoints(test.serviceName, netutils.ParseIPSloppy(test.ip), test.endpointPorts, true)
    			if err != nil {
    				t.Errorf("unexpected error reconciling: %v", err)
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 27 12:46:24 UTC 2022
    - 14K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/reconcilers/peer_endpoint_lease.go

    	// RemoveEndpoints removes this apiserver's peer endpoint lease.
    	RemoveLease(serverId string) error
    	// Destroy cleans up everything on shutdown.
    	Destroy()
    	// StopReconciling turns any later ReconcileEndpoints call into a noop.
    	StopReconciling()
    }
    
    type peerEndpointLeaseReconciler struct {
    	serverLeases          *peerEndpointLeases
    	stopReconcilingCalled atomic.Bool
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 12.3K bytes
    - Viewed (0)
Back to top