Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 312 for clusterIPs (0.12 sec)

  1. pkg/registry/core/service/storage/storage.go

    		return
    	}
    
    	// This was an update operation
    
    	// ClusterIPs were cleared by an old client which was trying to patch
    	// some field and didn't provide ClusterIPs
    	if len(oldSvc.Spec.ClusterIPs) > 0 && len(newSvc.Spec.ClusterIPs) == 0 {
    		// if ClusterIP is the same, then it is an old client trying to
    		// patch service and didn't provide ClusterIPs
    		if oldSvc.Spec.ClusterIP == newSvc.Spec.ClusterIP {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 13:09:33 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  2. pkg/proxy/util/utils_test.go

    			service: v1.Service{
    				Spec: v1.ServiceSpec{
    					ClusterIPs: []string{"10.0.0.10"},
    					IPFamilies: []v1.IPFamily{v1.IPv4Protocol},
    				},
    			},
    		},
    
    		{
    			name:           "service single stack ipv4. want ipv6",
    			requestFamily:  v1.IPv6Protocol,
    			expectedResult: "",
    			service: v1.Service{
    				Spec: v1.ServiceSpec{
    					ClusterIPs: []string{"10.0.0.10"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 11:57:43 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  3. pkg/registry/core/service/ipallocator/controller/repairip.go

    //   creating the corresponding IPAddress objects
    // * IPAddress objects with wrong references or labels
    //
    // Logs about:
    // * ClusterIPs that do not match the currently configured range
    //
    // There is a one-to-one relation between Service ClusterIPs and IPAddresses.
    // The bidirectional relation is achieved using the following fields:
    // Service.Spec.Cluster == IPAddress.Name AND IPAddress.ParentRef == Service
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.Service.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. pkg/registry/core/service/storage/storage_test.go

    		}
    		if tc.expectStackDowngrade && len(want.Spec.ClusterIPs) > len(got.Spec.ClusterIPs) {
    			want.Spec.ClusterIPs = want.Spec.ClusterIPs[0:1]
    		} else if len(got.Spec.ClusterIPs) > len(want.Spec.ClusterIPs) {
    			want.Spec.ClusterIPs = append(want.Spec.ClusterIPs, got.Spec.ClusterIPs[len(want.Spec.ClusterIPs):]...)
    		}
    		if tc.expectStackDowngrade && len(want.Spec.IPFamilies) > len(got.Spec.ClusterIPs) {
    			want.Spec.IPFamilies = want.Spec.IPFamilies[0:1]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 440.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.Service.yaml

        name: nameValue
        uid: uidValue
      resourceVersion: resourceVersionValue
      selfLink: selfLinkValue
      uid: uidValue
    spec:
      allocateLoadBalancerNodePorts: true
      clusterIP: clusterIPValue
      clusterIPs:
      - clusterIPsValue
      externalIPs:
      - externalIPsValue
      externalName: externalNameValue
      externalTrafficPolicy: externalTrafficPolicyValue
      healthCheckNodePort: 12
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top