Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 277 for subset16 (0.29 sec)

  1. 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)
  2. istioctl/pkg/describe/describe.go

    }
    
    // getDestRuleSubsets gets names of subsets that match any pod labels (also, ones that don't match).
    func getDestRuleSubsets(subsets []*v1alpha3.Subset, podsLabels []klabels.Set) ([]string, []string) {
    	matchingSubsets := make([]string, 0, len(subsets))
    	nonmatchingSubsets := make([]string, 0, len(subsets))
    	for _, subset := range subsets {
    		subsetSelector := klabels.SelectorFromSet(subset.Labels)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/cluster_builder_test.go

    					}
    					for _, subset := range tt.destRule.Subsets {
    						if subset.Name == subsetName {
    							if subset.GetTrafficPolicy().GetTls() != nil {
    								verifyALPNOverride(t, c.Metadata, subset.TrafficPolicy.Tls.Mode)
    							}
    						}
    					}
    				}
    			}
    
    			// Validate that ORIGINAL_DST cluster does not have load assignments
    			for _, subset := range subsetClusters {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. pkg/test/framework/components/echo/match/matchers.go

    // - VM
    // - Naked
    // - Headless
    // - TProxy
    // - Multi-Subset
    var RegularPod Matcher = func(instance echo.Instance) bool {
    	return instance.Config().IsRegularPod()
    }
    
    var NotRegularPod = Not(RegularPod)
    
    // MultiVersion matches echos that have Multi-version specific setup.
    var MultiVersion Matcher = func(i echo.Instance) bool {
    	if len(i.Config().Subsets) != 2 {
    		return false
    	}
    	var matchIstio, matchLegacy bool
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 5.6K 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. pilot/pkg/networking/grpcgen/cds.go

    	}
    	return resp
    }
    
    // newClusterFilter maps a non-subset cluster name to the list of actual cluster names (default or subset) actually
    // requested by the client. gRPC will usually request a group of clusters that are used in the same route; in some
    // cases this means subsets associated with the same default cluster aren't all expected in the same CDS response.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Sets.java

        }
      }
    
      /**
       * Returns the set of all possible subsets of {@code set}. For example, {@code
       * powerSet(ImmutableSet.of(1, 2))} returns the set {@code {{}, {1}, {2}, {1, 2}}}.
       *
       * <p>Elements appear in these subsets in the same iteration order as they appeared in the input
       * set. The order in which these subsets appear in the outer set is undefined. Note that the power
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 77.3K bytes
    - Viewed (0)
Back to top