Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for destinationRule (0.23 sec)

  1. pkg/config/analysis/analyzers/testdata/destinationrule-simple-destination-credentialname.yaml

    apiVersion: networking.istio.io/v1alpha3
    kind: DestinationRule
    metadata:
      name: db-tls
    spec:
      host: mydbserver.prod.svc.cluster.local
      trafficPolicy:
        tls:
          mode: SIMPLE
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 217 bytes
    - Viewed (0)
  2. pkg/config/analysis/analyzers/testdata/destinationrule-simple-port-credentialname.yaml

    apiVersion: networking.istio.io/v1alpha3
    kind: DestinationRule
    metadata:
      name: db-tls
    spec:
      host: mydbserver.prod.svc.cluster.local
      trafficPolicy:
        portLevelSettings:
          - port:
              number: 443
            tls:
              mode: SIMPLE
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 288 bytes
    - Viewed (0)
  3. pkg/config/analysis/analyzers/testdata/destinationrule-simple-port-credentialname-selector.yaml

    apiVersion: networking.istio.io/v1alpha3
    kind: DestinationRule
    metadata:
      name: db-tls
    spec:
      host: mydbserver.prod.svc.cluster.local
      trafficPolicy:
        portLevelSettings:
          - port:
              number: 443
            tls:
              mode: SIMPLE
              credentialName: db-credential
      workloadSelector:
          matchLabels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 342 bytes
    - Viewed (0)
  4. pkg/config/analysis/analyzers/testdata/destinationrule-simple-destination-credentialname-selector.yaml

    apiVersion: networking.istio.io/v1alpha3
    kind: DestinationRule
    metadata:
      name: db-tls
    spec:
      host: mydbserver.prod.svc.cluster.local
      trafficPolicy:
        tls:
          mode: SIMPLE
          credentialName: db-credential
      workloadSelector:
          matchLabels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 271 bytes
    - Viewed (0)
  5. pkg/config/analysis/analyzers/destinationrule/ca-certificates.go

    	return analysis.Metadata{
    		Name:        "destinationrule.CaCertificateAnalyzer",
    		Description: "Checks if caCertificates is set when TLS mode is SIMPLE/MUTUAL",
    		Inputs: []config.GroupVersionKind{
    			gvk.DestinationRule,
    		},
    	}
    }
    
    func (c *CaCertificateAnalyzer) Analyze(ctx analysis.Context) {
    	ctx.ForEach(gvk.DestinationRule, func(r *resource.Instance) bool {
    		c.analyzeDestinationRule(r, ctx)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. pilot/pkg/model/destination_rule.go

    func (ps *PushContext) mergeDestinationRule(p *consolidatedDestRules, destRuleConfig config.Config, exportToSet sets.Set[visibility.Instance]) {
    	rule := destRuleConfig.Spec.(*networking.DestinationRule)
    	resolvedHost := host.Name(rule.Host)
    
    	var destRules map[host.Name][]*ConsolidatedDestRule
    
    	if resolvedHost.IsWildCarded() {
    		destRules = p.wildcardDestRules
    	} else {
    		destRules = p.specificDestRules
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 07:22:29 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. pilot/pkg/xds/endpoints/endpoint_builder_test.go

    			dr: &config.Config{
    				Spec: &networking.DestinationRule{
    					TrafficPolicy: &networking.TrafficPolicy{
    						OutlierDetection: &networking.OutlierDetection{
    							ConsecutiveErrors: 5,
    						},
    					},
    				},
    			},
    			expectedLabels: nil,
    		},
    		{
    			name: "failover priority disabled",
    			dr: &config.Config{
    				Spec: &networking.DestinationRule{
    					TrafficPolicy: &networking.TrafficPolicy{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. 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)
Back to top