Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for destinationRule (0.52 sec)

  1. pilot/pkg/networking/core/networkfilter_test.go

    					},
    				},
    			},
    		},
    	}
    
    	destinationRule := config.Config{
    		Meta: config.Meta{
    			GroupVersionKind: gvk.DestinationRule,
    			Name:             "acme-v3-1",
    			Namespace:        "not-default",
    		},
    		Spec: destinationRuleSpec,
    	}
    
    	subsetdestinationRuleSpec := &networking.DestinationRule{
    		Host: "subsettest.com",
    		TrafficPolicy: &networking.TrafficPolicy{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/networkfilter.go

    }
    
    func maybeSetHashPolicy(destinationRule *networking.DestinationRule, tcpProxy *tcp.TcpProxy, subsetName string) {
    	if destinationRule != nil {
    		useSourceIP := destinationRule.GetTrafficPolicy().GetLoadBalancer().GetConsistentHash().GetUseSourceIp()
    		for _, subset := range destinationRule.Subsets {
    			if subset.Name != subsetName {
    				continue
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. pilot/pkg/xds/endpoints/endpoint_builder.go

    			b.failoverPriorityLabels = util.GetFailoverPriorityLabels(b.proxy.Labels, lbSetting.FailoverPriority)
    		}
    	}
    }
    
    func (b *EndpointBuilder) DestinationRule() *v1alpha3.DestinationRule {
    	if dr := b.destinationRule.GetRule(); dr != nil {
    		dr, _ := dr.Spec.(*v1alpha3.DestinationRule)
    		return dr
    	}
    	return nil
    }
    
    func (b *EndpointBuilder) Type() string {
    	return model.EDSType
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 02:18:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  4. istioctl/pkg/describe/describe_test.go

    										},
    										Weight: 50,
    									},
    								},
    							},
    						},
    					},
    				},
    				&v1alpha3.DestinationRule{
    					ObjectMeta: metav1.ObjectMeta{
    						Name:      "productpage",
    						Namespace: "default",
    					},
    					Spec: v1alpha32.DestinationRule{
    						Host: "productpage",
    						Subsets: []*v1alpha32.Subset{
    							{
    								Name:   "v1",
    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. pkg/config/analysis/analyzers/analyzers_test.go

    			"testdata/destinationrule-mutual-destination.yaml",
    		},
    		analyzer: &destinationrule.CaCertificateAnalyzer{},
    		expected: []message{
    			{msg.NoServerCertificateVerificationDestinationLevel, "DestinationRule db-mtls"},
    		},
    	},
    	{
    		name: "destinationrule with no cacert, simple at portlevel",
    		inputFiles: []string{
    			"testdata/destinationrule-simple-port.yaml",
    		},
    		analyzer: &destinationrule.CaCertificateAnalyzer{},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/cluster_builder.go

    	cfg := proxy.SidecarScope.DestinationRule(model.TrafficDirectionInbound, proxy, instance.Service.Hostname).GetRule()
    	if cfg != nil {
    		destinationRule := CastDestinationRule(cfg)
    		opts.isDrWithSelector = destinationRule.GetWorkloadSelector() != nil
    		if destinationRule.TrafficPolicy != nil {
    			opts.policy, _ = util.GetPortLevelTrafficPolicy(destinationRule.TrafficPolicy, instance.Port.ServicePort)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  7. pkg/config/schema/collections/collections.agent.gen.go

    	}.MustBuild()
    
    	DestinationRule = resource.Builder{
    		Identifier: "DestinationRule",
    		Group:      "networking.istio.io",
    		Kind:       "DestinationRule",
    		Plural:     "destinationrules",
    		Version:    "v1alpha3",
    		VersionAliases: []string{
    			"v1beta1",
    			"v1",
    		},
    		Proto: "istio.networking.v1alpha3.DestinationRule", StatusProto: "istio.meta.v1alpha1.IstioStatus",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  8. pilot/pkg/xds/endpoints/ep_filters_test.go

    					},
    				},
    				{
    					Meta: config.Meta{
    						GroupVersionKind: gvk.DestinationRule,
    						Name:             "mtls-on",
    						Namespace:        "ns",
    					},
    					Spec: &networking.DestinationRule{
    						Host: "example.ns.svc.cluster.local",
    						TrafficPolicy: &networking.TrafficPolicy{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  9. pilot/pkg/model/sidecar.go

    	}
    }
    
    // DestinationRule returns a destinationrule for a svc.
    func (sc *SidecarScope) DestinationRule(direction TrafficDirection, proxy *Proxy, svc host.Name) *ConsolidatedDestRule {
    	destinationRules := sc.destinationRules[svc]
    	var catchAllDr *ConsolidatedDestRule
    	for _, destRule := range destinationRules {
    		destinationRule := destRule.rule.Spec.(*networking.DestinationRule)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 20:32:23 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  10. pkg/config/schema/gvk/resources.gen.go

    	DestinationRule                = config.GroupVersionKind{Group: "networking.istio.io", Version: "v1alpha3", Kind: "DestinationRule"}
    	DestinationRule_v1beta1        = config.GroupVersionKind{Group: "networking.istio.io", Version: "v1beta1", Kind: "DestinationRule"}
    	DestinationRule_v1             = config.GroupVersionKind{Group: "networking.istio.io", Version: "v1", Kind: "DestinationRule"}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 17:37:32 UTC 2024
    - 15.6K bytes
    - Viewed (0)
Back to top