Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 190 for subset16 (0.14 sec)

  1. pkg/controller/endpoint/endpoints_controller.go

    			// addresses
    			subset.Addresses = addressSubset(subset.Addresses, toBeAdded)
    			subset.NotReadyAddresses = []v1.EndpointAddress{}
    			canBeAdded -= len(subset.Addresses)
    		} else {
    			// Only truncate the not ready addresses
    			subset.NotReadyAddresses = addressSubset(subset.NotReadyAddresses, toBeAdded)
    			canBeAdded -= len(subset.NotReadyAddresses)
    		}
    		endpoints.Subsets[i] = subset
    	}
    	return true
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  2. pkg/controller/endpointslicemirroring/reconciler_test.go

    	}{{
    		testName:               "Endpoints with no subsets",
    		subsets:                []corev1.EndpointSubset{},
    		existingEndpointSlices: []*discovery.EndpointSlice{},
    		expectedNumSlices:      0,
    		expectedClientActions:  0,
    		expectedMetrics:        &expectedMetrics{},
    	}, {
    		testName: "Endpoints with no addresses",
    		subsets: []corev1.EndpointSubset{{
    			Ports: []corev1.EndpointPort{{
    				Name:     "http",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  3. pkg/test/framework/components/echo/config.go

    	// TODO make these check if any subset has a matching annotation
    	return len(c.Subsets) > 0 && c.Subsets[0].Annotations != nil && strings.HasPrefix(c.Subsets[0].Annotations[annotation.InjectTemplates.Name], "grpc-")
    }
    
    func (c Config) IsTProxy() bool {
    	// TODO this could be HasCustomInjectionMode
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  4. pkg/controller/endpointslicemirroring/reconciler.go

    	addressesSkipped := 0
    
    	// canonicalize the Endpoints subsets before processing them
    	subsets := endpointsv1.RepackSubsets(endpoints.Subsets)
    	for _, subset := range subsets {
    		multiKey := d.initPorts(subset.Ports)
    
    		totalAddresses := len(subset.Addresses) + len(subset.NotReadyAddresses)
    		totalAddressesAdded := 0
    
    		for _, address := range subset.Addresses {
    			// Break if we've reached the max number of addresses to mirror
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 18:08:12 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  5. istioctl/pkg/describe/describe_test.go

    			args: strings.Split("service productpage", " "),
    			expectedOutput: `Service: productpage
    DestinationRule: productpage for "productpage"
       WARNING POD DOES NOT MATCH ANY SUBSETS.  (Non matching subsets v1)
       Matching subsets: 
          (Non-matching subsets v1)
       No Traffic Policy
    VirtualService: bookinfo
       Route to host "productpage" with weight 30%
       Route to host "productpage2" with weight 20%
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 09:54:01 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/networkfilter_test.go

    	}{
    		{
    			name: "tunneling_config should not be applied when destination rule and listener subsets do not match",
    			routeDestinations: []*networking.RouteDestination{
    				{
    					Destination: &networking.Destination{
    						Host:   "tunnel-proxy.com",
    						Port:   &networking.PortSelector{Number: 3128},
    						Subset: "random-subset",
    					},
    				},
    			},
    			destinationRule:         tunnelingEnabledForSubset,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  7. pilot/pkg/xds/endpoints/endpoint_builder.go

    	// empty subset
    	if subsetName == "" {
    		return nil
    	}
    
    	if dr == nil {
    		return nil
    	}
    
    	for _, subset := range dr.Subsets {
    		if subset.Name == subsetName {
    			if len(subset.Labels) == 0 {
    				return nil
    			}
    			return subset.Labels
    		}
    	}
    
    	return nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 02:18:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  8. pkg/test/framework/components/echo/kube/deployment.go

    			"ContainerPorts": grpcPorts,
    			"FallbackPort":   grpcFallbackPort,
    		})
    	}
    
    	if cfg.WorkloadWaypointProxy != "" {
    		for _, subset := range cfg.Subsets {
    			if subset.Labels == nil {
    				subset.Labels = make(map[string]string)
    			}
    			subset.Labels[constants.AmbientUseWaypointLabel] = cfg.WorkloadWaypointProxy
    		}
    	}
    
    	params := map[string]any{
    		"ImageHub":                settings.Image.Hub,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  9. pkg/controlplane/reconcilers/lease.go

    		return nil, err
    	}
    
    	ipList := make([]string, 0, len(ipInfoList.Items))
    	for _, ip := range ipInfoList.Items {
    		if len(ip.Subsets) > 0 && len(ip.Subsets[0].Addresses) > 0 && len(ip.Subsets[0].Addresses[0].IP) > 0 {
    			ipList = append(ipList, ip.Subsets[0].Addresses[0].IP)
    		}
    	}
    
    	klog.V(6).Infof("Current master IPs listed in storage are %v", ipList)
    
    	return ipList, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/networkfilter.go

    		for _, subset := range destinationRule.Subsets {
    			if subset.Name != subsetName {
    				continue
    			}
    			// If subset has load balancer - see if it is also consistent hash source IP
    			if subset.TrafficPolicy != nil && subset.TrafficPolicy.LoadBalancer != nil {
    				if subset.TrafficPolicy.LoadBalancer.GetConsistentHash() != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top