Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for DR (0.13 sec)

  1. istioctl/pkg/describe/describe.go

    	return false
    }
    
    func printDestinationRule(writer io.Writer, initPrintNum int,
    	dr *clientnetworking.DestinationRule, podsLabels []klabels.Set,
    ) {
    	fmt.Fprintf(writer, "%sDestinationRule: %s for %q\n",
    		printSpaces(initPrintNum+printLevel0), kname(dr.ObjectMeta), dr.Spec.Host)
    
    	matchingSubsets, nonmatchingSubsets := getDestRuleSubsets(dr.Spec.Subsets, podsLabels)
    	if len(matchingSubsets) != 0 || len(nonmatchingSubsets) != 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  2. pilot/pkg/model/push_context_test.go

    			}
    			for i, dr := range drList {
    				if dr.rule.Name != tt.expectedDrName[i] {
    					t.Errorf("destinationRuleName expected %v got %v", tt.expectedDrName[i], dr.rule.Name)
    				}
    			}
    			testLocal := ps.destinationRuleIndex.namespaceLocal[tt.proxyNs]
    			if testLocal != nil {
    				destRules := testLocal.specificDestRules
    				for _, dr := range destRules[host.Name(testhost)] {
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  3. pilot/pkg/model/sidecar_test.go

    		Meta: config.Meta{
    			Name:      "sidecar-scope-with-workloadselector-specific-dr-match",
    			Namespace: "mynamespace",
    			Labels:    map[string]string{"app": "app2"},
    		},
    		Spec: &networking.Sidecar{},
    	}
    
    	configs19 = &config.Config{
    		Meta: config.Meta{
    			Name:      "sidecar-scope-with-workloadselector-specific-dr-no-match",
    			Namespace: "mynamespace",
    			Labels:    map[string]string{"app": "app5"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/route/route.go

    	for _, httpRoute := range virtualService.Spec.(*networking.VirtualService).Http {
    		for _, destination := range httpRoute.Route {
    			hash, dr := hashForHTTPDestination(push, node, destination)
    			if hash != nil {
    				hashByDestination[destination] = hash
    				destinationRules = append(destinationRules, dr)
    			}
    		}
    	}
    	return hashByDestination, destinationRules
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  5. pilot/pkg/model/push_context.go

    	// Map of dest rule host and the merged destination rules for that host.
    	// Only stores wildcard destination rules
    	wildcardDestRules map[host.Name][]*ConsolidatedDestRule
    }
    
    // ConsolidatedDestRule represents a dr and from which it is consolidated.
    type ConsolidatedDestRule struct {
    	// rule is merged from the following destinationRules.
    	rule *config.Config
    	// the original dest rules from which above rule is merged.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
  6. tests/integration/ambient/baseline_test.go

    `).ApplyOrFail(t)
    			t.ConfigIstio().Eval(apps.Namespace.Name(), map[string]string{
    				"Destination": dst.Config().Service,
    			}, `apiVersion: networking.istio.io/v1alpha3
    kind: DestinationRule
    metadata:
      name: dr
    spec:
      host: "{{.Destination}}"
      subsets:
      - name: v1
        labels:
          version: v1
      - name: v2
        labels:
          version: v2
    `).ApplyOrFail(t)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
Back to top