Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 159 for clusterIPs (0.15 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. 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. 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)
  6. tests/integration/pilot/gateway_test.go

    		RequiresLocalControlPlane().
    		Run(func(t framework.TestContext) {
    			c := t.Clusters().Default()
    			var svc *corev1.Service
    			svc, _, err := testKube.WaitUntilServiceEndpointsAreReady(c.Kube(), "istio-system", "istio-ingressgateway")
    			if err != nil {
    				t.Fatalf("error getting ingress gateway svc ips: %v", err)
    			}
    			for _, ip := range svc.Spec.ClusterIPs {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  7. pkg/proxy/servicechangetracker_test.go

    	if len(healthCheckNodePorts) != 0 {
    		t.Errorf("expected 0 healthcheck ports, got %v", healthCheckNodePorts)
    	}
    
    	// All services but one were deleted. While you'd expect only the ClusterIPs
    	// from the three deleted services here, we still have the ClusterIP for
    	// the not-deleted service, because one of it's ServicePorts was deleted.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  8. pkg/kubelet/network/dns/dns_test.go

    			expectedError: true,
    		},
    	}
    
    	for _, tc := range testCases {
    		t.Run(tc.desc, func(t *testing.T) {
    			if tc.hasClusterDNS {
    				configurer.clusterDNS = testClusterDNS
    			} else {
    				configurer.clusterDNS = nil
    			}
    			pod.Spec.DNSPolicy = tc.dnsPolicy
    			pod.Spec.HostNetwork = tc.hostNetwork
    
    			resType, err := getPodDNSType(pod)
    			if tc.expectedError {
    				if err == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc

              return mlir::failure();
          }
        }
        return success();
      }
    
      ClusterMap clusters;
      result = CollectAndGroupClusterOps(block, &clusters);
      if (failed(result)) return result;
    
      for (const auto& cluster_metadata_and_ops : clusters) {
        const auto& cluster_ops = cluster_metadata_and_ops.getSecond();
    
        auto cluster_metadata =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 39.3K bytes
    - Viewed (0)
  10. pkg/test/framework/components/istio/kube.go

    	for _, c := range ctx.Clusters().Configs().Remotes() {
    		if err = i.reinstallConfigCluster(c); err != nil {
    			return i, err
    		}
    	}
    
    	// Install (non-config) remote clusters.
    	errG = multierror.Group{}
    	for _, c := range ctx.Clusters().Remotes(ctx.Clusters().Configs()...) {
    		c := c
    		errG.Go(func() error {
    			if err := i.installRemoteCluster(c); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 31.1K bytes
    - Viewed (0)
Back to top