Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for ServiceCIDRs (0.37 sec)

  1. pkg/controller/servicecidrs/servicecidrs_controller.go

    		return []string{}
    	}
    
    	c.muTree.Lock()
    	defer c.muTree.Unlock()
    	serviceCIDRs := []string{}
    	// walk the tree to get all the ServiceCIDRs that contain this IP address
    	prefixes := c.tree.GetHostIPPrefixMatches(address)
    	for _, v := range prefixes {
    		serviceCIDRs = append(serviceCIDRs, v.UnsortedList()...)
    	}
    
    	return serviceCIDRs
    }
    
    func (c *Controller) worker(ctx context.Context) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 18K bytes
    - Viewed (0)
  2. pkg/controlplane/controller/defaultservicecidr/default_servicecidr_controller.go

    		ObjectMeta: metav1.ObjectMeta{
    			Name: DefaultServiceCIDRName,
    		},
    		Spec: networkingapiv1alpha1.ServiceCIDRSpec{
    			CIDRs: c.cidrs,
    		},
    	}
    	serviceCIDR, err = c.client.NetworkingV1alpha1().ServiceCIDRs().Create(context.Background(), serviceCIDR, metav1.CreateOptions{})
    	if err != nil && !apierrors.IsAlreadyExists(err) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. pkg/registry/core/service/ipallocator/cidrallocator.go

    	defer func() {
    		klog.V(2).Infof("Finished sync for CIDRs took %v", time.Since(now))
    	}()
    
    	serviceCIDRs, err := c.serviceCIDRLister.List(labels.Everything())
    	if err != nil {
    		return err
    	}
    
    	cidrsSet := sets.New[string]()
    	cidrReady := map[string]bool{}
    	for _, serviceCIDR := range serviceCIDRs {
    		ready := true
    		if !isReady(serviceCIDR) || !serviceCIDR.DeletionTimestamp.IsZero() {
    			ready = false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  4. pkg/proxy/nftables/proxier.go

    	// staleChains contains information about chains to be deleted later
    	staleChains map[string]time.Time
    
    	// serviceCIDRs is a comma separated list of ServiceCIDRs belonging to the IPFamily
    	// which proxier is operating on, can be directly consumed by knftables.
    	serviceCIDRs string
    
    	logger klog.Logger
    }
    
    // Proxier implements proxy.Provider
    var _ proxy.Provider = &Proxier{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  5. pkg/kubeapiserver/default_storage_factory_builder.go

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 20:14:51 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. pkg/registry/core/service/ipallocator/controller/repairip.go

    		cidrQueue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{Name: "servicecidrs"},
    		),
    		svcQueue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{Name: "services"},
    		),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  7. pkg/proxy/config/config.go

    // notifications about ServiceCIDR object changes.
    type ServiceCIDRHandler interface {
    	// OnServiceCIDRsChanged is called whenever a change is observed
    	// in any of the ServiceCIDRs, and provides complete list of service cidrs.
    	OnServiceCIDRsChanged(cidrs []string)
    }
    
    // ServiceCIDRConfig tracks a set of service configurations.
    type ServiceCIDRConfig struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  8. pkg/proxy/nftables/proxier_test.go

    	// invocation into a Run() method.
    	nftablesFamily := knftables.IPv4Family
    	podCIDR := "10.0.0.0/8"
    	serviceCIDRs := "172.30.0.0/16"
    	if ipFamily == v1.IPv6Protocol {
    		nftablesFamily = knftables.IPv6Family
    		podCIDR = "fd00:10::/64"
    		serviceCIDRs = "fd00:10:96::/112"
    	}
    	detectLocal := proxyutil.NewDetectLocalByCIDR(podCIDR)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
  9. cmd/kube-proxy/app/server.go

    		informers.WithTweakListOptions(func(options *metav1.ListOptions) {
    			options.LabelSelector = labelSelector.String()
    		}))
    
    	// Create configs (i.e. Watches for Services, EndpointSlices and ServiceCIDRs)
    	// Note: RegisterHandler() calls need to happen before creation of Sources because sources
    	// only notify on changes, and the initial update (on process start) may be lost if no handlers
    	// are registered yet.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  10. pkg/proxy/winkernel/proxier.go

    	proxier.mu.Unlock()
    
    	// Sync unconditionally - this is called once per lifetime.
    	proxier.syncProxyRules()
    }
    
    // OnServiceCIDRsChanged is called whenever a change is observed
    // in any of the ServiceCIDRs, and provides complete list of service cidrs.
    func (proxier *Proxier) OnServiceCIDRsChanged(_ []string) {}
    
    func (proxier *Proxier) cleanupAllPolicies() {
    	for svcName, svc := range proxier.svcPortMap {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 59K bytes
    - Viewed (0)
Back to top