- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for RemoveEndpoints (0.3 sec)
-
pkg/controlplane/reconcilers/none.go
func (r *noneEndpointReconciler) ReconcileEndpoints(serviceName string, ip net.IP, endpointPorts []corev1.EndpointPort, reconcilePorts bool) error { return nil } // RemoveEndpoints noop reconcile func (r *noneEndpointReconciler) RemoveEndpoints(serviceName string, ip net.IP, endpointPorts []corev1.EndpointPort) error { return nil } func (r *noneEndpointReconciler) StopReconciling() { }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 05 11:45:48 UTC 2022 - 1.5K bytes - Viewed (0) -
pkg/controlplane/reconcilers/reconcilers.go
// * ReconcileEndpoints is called periodically from all apiservers. ReconcileEndpoints(serviceName string, ip net.IP, endpointPorts []corev1.EndpointPort, reconcilePorts bool) error // RemoveEndpoints removes this apiserver's lease. RemoveEndpoints(serviceName string, ip net.IP, endpointPorts []corev1.EndpointPort) error // StopReconciling turns any later ReconcileEndpoints call into a noop. StopReconciling()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 26 13:49:31 UTC 2022 - 2.7K bytes - Viewed (0) -
pkg/controlplane/controller/kubernetesservice/controller.go
return } // Reconcile during first run removing itself until server is ready. endpointPorts := createEndpointPortSpec(c.PublicServicePort, "https") if err := c.EndpointReconciler.RemoveEndpoints(kubernetesServiceName, c.PublicIP, endpointPorts); err == nil { klog.Error("Found stale data, removed previous endpoints on kubernetes service, apiserver didn't exit successfully previously") } else if !storage.IsNotFound(err) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 16 16:33:01 UTC 2023 - 9.3K bytes - Viewed (0) -
pkg/controlplane/reconcilers/lease.go
// reconcile endpoints only if apiserver was not shutdown if r.stopReconcilingCalled.Load() { return nil } // Ensure that there will be no race condition with the RemoveEndpoints. r.reconcilingLock.Lock() defer r.reconcilingLock.Unlock() // Refresh the TTL on our key, independently of whether any error or // update conflict happens below. This makes sure that at least some of
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 24 09:23:05 UTC 2023 - 11.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/reconcilers/peer_endpoint_lease.go
GetEndpoint(serverId string) (string, error) // UpdateLease updates the ip and port of peer servers UpdateLease(serverId string, ip string, endpointPorts []corev1.EndpointPort) error // 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.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 24 09:23:05 UTC 2023 - 12.3K bytes - Viewed (0) -
pkg/controlplane/reconcilers/instancecount.go
} klog.Warningf("Resetting endpoints for master service %q to %v", serviceName, e) _, err = r.epAdapter.Update(metav1.NamespaceDefault, e) return err } func (r *masterCountEndpointReconciler) RemoveEndpoints(serviceName string, ip net.IP, endpointPorts []corev1.EndpointPort) error { r.reconcilingLock.Lock() defer r.reconcilingLock.Unlock()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 7.2K bytes - Viewed (0) -
pkg/controlplane/reconcilers/lease_test.go
epAdapter := NewEndpointsAdapter(clientset.CoreV1(), clientset.DiscoveryV1()) r := NewLeaseEndpointReconciler(epAdapter, fakeLeases) if !test.apiServerStartup { r.StopReconciling() } err = r.RemoveEndpoints(test.serviceName, netutils.ParseIPSloppy(test.ip), test.endpointPorts) // if the ip is not on the endpoints, it must return an storage error and stop reconciling if !contains(test.endpointKeys, test.ip) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 24 09:23:05 UTC 2023 - 28.7K bytes - Viewed (0) -
pkg/controlplane/reconcilers/instancecount_test.go
reconciler := NewMasterCountEndpointReconciler(1, epAdapter) endpointPorts := []corev1.EndpointPort{ {Name: "foo", Port: 8080, Protocol: "TCP"}, } err := reconciler.RemoveEndpoints("foo", netutils.ParseIPSloppy("1.2.3.4"), endpointPorts) if err != nil { t.Errorf("unexpected error: %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)