Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 524 for subset16 (0.13 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. pkg/config/analysis/analyzers/testdata/virtualservice_route_rule_no_effects_ingress.yaml

      namespace: default
    spec:
      hosts:
      - ratings
      http:
      - route:
        - destination:
            host: ratings
            subset: v1
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: DestinationRule
    metadata:
      name: ratings
      namespace: default
    spec:
      host: ratings
      subsets:
      - name: v1
        labels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 17 12:28:05 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  3. tests/testdata/config/rule-websocket-route.yaml

          labels:
            version: v1
    
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: DestinationRule
    metadata:
      name: websocket
      namespace: testns
    spec:
      host: websocket.test.istio.io
      subsets:
        - name: v1
          labels:
            version: v1
    
    
    ---
    
    apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
      name: websocket-route
      namespace: testns
    spec:
      hosts:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jan 19 04:56:49 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  4. pkg/controlplane/reconcilers/endpointsadapter.go

    	if len(endpoints.Subsets) > 0 {
    		subset := endpoints.Subsets[0]
    		for i := range subset.Ports {
    			endpointSlice.Ports = append(endpointSlice.Ports, discovery.EndpointPort{
    				Port:     &subset.Ports[i].Port,
    				Name:     &subset.Ports[i].Name,
    				Protocol: &subset.Ports[i].Protocol,
    			})
    		}
    
    		if allAddressesIPv6(append(subset.Addresses, subset.NotReadyAddresses...)) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 27 12:46:23 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/proxy/proxy.go

    		return nil, err
    	}
    	if len(eps.Subsets) == 0 {
    		return nil, errors.NewServiceUnavailable(fmt.Sprintf("no endpoints available for service %q", svc.Name))
    	}
    
    	// Pick a random Subset to start searching from.
    	ssSeed := rand.Intn(len(eps.Subsets))
    
    	// Find a Subset that has the port.
    	for ssi := 0; ssi < len(eps.Subsets); ssi++ {
    		ss := &eps.Subsets[(ssSeed+ssi)%len(eps.Subsets)]
    		if len(ss.Addresses) == 0 {
    			continue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 19 00:36:22 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  6. 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)
  7. pilot/pkg/xds/endpoints/mtls_checker.go

    func tlsModeForDestinationRule(drc *config.Config, subset string, port int) *networkingapi.ClientTLSSettings_TLSmode {
    	if drc == nil {
    		return nil
    	}
    	dr, ok := drc.Spec.(*networkingapi.DestinationRule)
    	if !ok || dr == nil {
    		return nil
    	}
    
    	if subset == "" {
    		return trafficPolicyTLSModeForPort(dr.GetTrafficPolicy(), port)
    	}
    
    	for _, ss := range dr.Subsets {
    		if ss.Name != subset {
    			continue
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 01 07:32:22 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top