Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 692 for clusterIPs (0.41 sec)

  1. pkg/registry/core/service/ipallocator/controller/repair.go

    // and logs any errors, and then sets the compacted and accurate list of all allocated IPs.
    //
    // Handles:
    // * Duplicate ClusterIP assignments caused by operator action or undetected race conditions
    // * ClusterIPs that do not match the currently configured range
    // * Allocations to services that were not actually created due to a crash or powerloss
    // * Migrates old versions of Kubernetes services into the atomic ipallocator model automatically
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 30 15:46:06 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  2. pkg/util/iptables/save_restore_test.go

    		-A PREROUTING -m comment --comment "handle ClusterIPs; NOTE: this must be before the NodePort rules" -j KUBE-PORTALS-CONTAINER
    		-A PREROUTING -m addrtype --dst-type LOCAL -j DOCKER
    		-A PREROUTING -m addrtype --dst-type LOCAL -m comment --comment "handle service NodePorts; NOTE: this must be the last rule in the chain" -j KUBE-NODEPORT-CONTAINER
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 5K bytes
    - Viewed (0)
  3. pkg/registry/core/service/ipallocator/controller/metrics.go

    	clusterIPRepairIPErrors = metrics.NewCounterVec(
    		&metrics.CounterOpts{
    			Namespace:      namespace,
    			Subsystem:      subsystem,
    			Name:           "ip_errors_total",
    			Help:           "Number of errors detected on clusterips by the repair loop broken down by type of error: leak, repair, full, outOfRange, duplicate, unknown, invalid",
    			StabilityLevel: metrics.ALPHA,
    		},
    		[]string{"type"},
    	)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 30 15:46:06 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. pkg/registry/core/service/strategy.go

    	// If the user is switching to a type that does not need a value in
    	// clusterIP/clusterIPs (even "None" counts as a value), we might be able
    	// to wipe some fields.
    	if needsClusterIP(oldSvc) && !needsClusterIP(newSvc) {
    		if sameClusterIPs(oldSvc, newSvc) {
    			// These will be deallocated later.
    			newSvc.Spec.ClusterIP = ""
    			newSvc.Spec.ClusterIPs = nil
    		}
    		if sameIPFamilies(oldSvc, newSvc) {
    			newSvc.Spec.IPFamilies = nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 13:09:36 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/networking/v1alpha1/generated.proto

      // +required
      optional string name = 4;
    }
    
    // ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64).
    // This range is used to allocate ClusterIPs to Service objects.
    message ServiceCIDR {
      // Standard object's metadata.
      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
      // +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. pkg/apis/core/validation/validation.go

    		// primary ClusterIP has been released
    		if len(service.Spec.ClusterIPs) == 0 {
    			allErrs = append(allErrs, field.Invalid(field.NewPath("spec", "clusterIPs").Index(0), service.Spec.ClusterIPs, "primary clusterIP can not be unset"))
    		}
    
    		// test if primary clusterIP has changed
    		if len(oldService.Spec.ClusterIPs) > 0 &&
    			len(service.Spec.ClusterIPs) > 0 &&
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
  7. pkg/proxy/util/utils.go

    			return service.Spec.ClusterIP
    		}
    
    		return ""
    	}
    
    	for idx, family := range service.Spec.IPFamilies {
    		if family == ipFamily {
    			if idx < len(service.Spec.ClusterIPs) {
    				return service.Spec.ClusterIPs[idx]
    			}
    		}
    	}
    
    	return ""
    }
    
    func IsVIPMode(ing v1.LoadBalancerIngress) bool {
    	if !utilfeature.DefaultFeatureGate.Enabled(features.LoadBalancerIPMode) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 11:57:43 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. pkg/registry/core/service/strategy_test.go

    			if result.Spec.ClusterIP != tc.expect.Spec.ClusterIP {
    				t.Errorf("expected clusterIP %q, got %q", tc.expect.Spec.ClusterIP, result.Spec.ClusterIP)
    			}
    			if !reflect.DeepEqual(result.Spec.ClusterIPs, tc.expect.Spec.ClusterIPs) {
    				t.Errorf("expected clusterIPs %q, got %q", tc.expect.Spec.ClusterIP, result.Spec.ClusterIP)
    			}
    			if !reflect.DeepEqual(result.Spec.IPFamilies, tc.expect.Spec.IPFamilies) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  9. pkg/apis/core/validation/validation_test.go

    			oldSvc.Spec.ClusterIP = "1.2.3.4"
    			oldSvc.Spec.ClusterIPs = []string{"1.2.3.4"}
    
    			newSvc.Spec.ClusterIP = "8.6.7.5"
    			newSvc.Spec.ClusterIPs = []string{"8.6.7.5"}
    		},
    		numErrs: 1,
    	}, {
    		name: "remove cluster IP",
    		tweakSvc: func(oldSvc, newSvc *core.Service) {
    			oldSvc.Spec.ClusterIP = "1.2.3.4"
    			oldSvc.Spec.ClusterIPs = []string{"1.2.3.4"}
    
    			newSvc.Spec.ClusterIP = ""
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/conversion.go

    		resolution = model.Passthrough
    	} else if svc.Spec.ClusterIP != "" {
    		addrs[0] = svc.Spec.ClusterIP
    		if len(svc.Spec.ClusterIPs) > 1 {
    			addrs = svc.Spec.ClusterIPs
    		}
    	}
    
    	ports := make([]*model.Port, 0, len(svc.Spec.Ports))
    	for _, port := range svc.Spec.Ports {
    		ports = append(ports, convertPort(port))
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top