Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 117 for destinationFile (0.28 sec)

  1. 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)
  2. 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)
  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. 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)
  5. releasenotes/notes/enable-verify-certificate-at-client.yaml

      This means server certificates will be automatically verified using the OS CA certificates when not using a DestinationRule caCertificates field.
      If undesired please use the new `compatibilityVersion` feature to fallback to old behavior, or `insecureSkipVerify`
      field in DestinationRule to skip the verification.
    upgradeNotes:
    - title: Default value of the feature flag `VERIFY_CERT_AT_CLIENT` is set to true
      content: |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 24 15:53:10 UTC 2024
    - 911 bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/tunnelingconfig/apply.go

    )
    
    type ApplyFunc = func(tcpProxy *tcp.TcpProxy, destinationRule *networking.DestinationRule, subsetName string)
    
    // Apply configures tunneling_config in a given TcpProxy depending on the destination rule and the destination hosts
    var Apply ApplyFunc = func(tcpProxy *tcp.TcpProxy, destinationRule *networking.DestinationRule, subsetName string) {
    	var tunnelSettings *networking.TrafficPolicy_TunnelSettings
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. tests/integration/security/ca_custom_root/secure_naming_test.go

    						name            string
    						destinationRule string
    						expectSuccess   bool
    					}{
    						{
    							name:            "connection fails when DR doesn't match SA",
    							destinationRule: defaultIdentityDR,
    							expectSuccess:   false,
    						},
    						{
    							name:            "connection succeeds when DR matches SA",
    							destinationRule: correctIdentityDR,
    							expectSuccess:   true,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. 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)
  9. pilot/pkg/model/typed_xds_cache_test.go

    	firstEntry := entry{
    		key:            "key1",
    		dependentTypes: []kind.Kind{kind.Service, kind.DestinationRule},
    		dependentConfigs: []ConfigHash{
    			ConfigKey{Kind: kind.Service, Name: "name", Namespace: "namespace"}.HashCode(),
    			ConfigKey{Kind: kind.DestinationRule, Name: "name", Namespace: "namespace"}.HashCode(),
    		},
    	}
    
    	c := newTypedXdsCache[uint64]()
    
    	cache := c.(*lruCache[uint64])
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jan 29 20:35:31 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/cluster_cache.go

    	return h.Sum64()
    }
    
    func (t *clusterCache) DependentConfigs() []model.ConfigHash {
    	drs := t.destinationRule.GetFrom()
    	configs := make([]model.ConfigHash, 0, len(drs)+1+len(t.envoyFilterKeys))
    	if t.destinationRule != nil {
    		for _, dr := range drs {
    			configs = append(configs, model.ConfigKey{Kind: kind.DestinationRule, Name: dr.Name, Namespace: dr.Namespace}.HashCode())
    		}
    	}
    	if t.service != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top