Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 40 for destinationRule (0.34 sec)

  1. 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)
  2. pilot/pkg/networking/core/cluster_builder_test.go

    		clusterMode            ClusterMode
    		service                *model.Service
    		port                   *model.Port
    		proxyView              model.ProxyView
    		destRule               *networking.DestinationRule
    		meshConfig             *meshconfig.MeshConfig
    		expectedSubsetClusters []*cluster.Cluster
    	}{
    		// TODO(ramaraochavali): Add more tests to cover additional conditions.
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/cluster_waypoint.go

    				clusters = append(clusters, cb.buildWaypointInboundVIPCluster(proxy, svc, *port, "http").build())
    			}
    			cfg := cb.sidecarScope.DestinationRule(model.TrafficDirectionInbound, proxy, svc.Hostname).GetRule()
    			if cfg != nil {
    				destinationRule := cfg.Spec.(*networking.DestinationRule)
    				for _, ss := range destinationRule.Subsets {
    					if port.Protocol.IsUnsupported() || port.Protocol.IsTCP() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. pkg/config/analysis/analyzers/all.go

    	"istio.io/istio/pkg/config/analysis/analyzers/authz"
    	"istio.io/istio/pkg/config/analysis/analyzers/deployment"
    	"istio.io/istio/pkg/config/analysis/analyzers/deprecation"
    	"istio.io/istio/pkg/config/analysis/analyzers/destinationrule"
    	"istio.io/istio/pkg/config/analysis/analyzers/envoyfilter"
    	"istio.io/istio/pkg/config/analysis/analyzers/externalcontrolplane"
    	"istio.io/istio/pkg/config/analysis/analyzers/gateway"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 22 10:13:03 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/cluster.go

    		services = append(services, proxy.SidecarScope.ServicesForHostname(host.Name(dr.Host))...)
    	} else {
    		dr := cfg.Spec.(*networking.DestinationRule)
    		// Destinationrule was updated. Find matching services from updated destinationrule.
    		services = append(services, proxy.SidecarScope.ServicesForHostname(host.Name(dr.Host))...)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/route/route.go

    	if push == nil {
    		return nil, nil
    	}
    	mergedDR := node.SidecarScope.DestinationRule(model.TrafficDirectionOutbound, node, svc.Hostname)
    	destinationRule := mergedDR.GetRule()
    	if destinationRule == nil {
    		return nil, nil
    	}
    	rule := destinationRule.Spec.(*networking.DestinationRule)
    	consistentHash := rule.GetTrafficPolicy().GetLoadBalancer().GetConsistentHash()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  7. pkg/config/analysis/msg/messages.yaml

        code: IST0128
        level: Warning
        description: "No caCertificates are set in DestinationRule, this results in no verification of presented server certificate."
        template: "DestinationRule %s in namespace %s has TLS mode set to %s but no caCertificates are set to validate server identity for host: %s"
        args:
          - name: destinationrule
            type: string
          - name: namespace
            type: string
          - name: mode
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 22 10:13:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/route/route_test.go

    			Services: exampleService,
    			Configs: []config.Config{
    				{
    					Meta: config.Meta{
    						GroupVersionKind: gvk.DestinationRule,
    						Name:             "acme",
    						Namespace:        "istio-system",
    					},
    					Spec: &networking.DestinationRule{
    						Host: "*.example.org",
    						TrafficPolicy: &networking.TrafficPolicy{
    							LoadBalancer: &networking.LoadBalancerSettings{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
  9. pkg/config/analysis/msg/messages.gen.go

    	// Description: No caCertificates are set in DestinationRule, this results in no verification of presented server certificate.
    	NoServerCertificateVerificationDestinationLevel = diag.NewMessageType(diag.Warning, "IST0128", "DestinationRule %s in namespace %s has TLS mode set to %s but no caCertificates are set to validate server identity for host: %s")
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 22 10:13:03 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  10. pilot/pkg/networking/util/util_test.go

    		want *core.Metadata
    	}{
    		{
    			"destination-rule",
    			config.Meta{
    				Name:             "svcA",
    				Namespace:        "default",
    				Domain:           "svc.cluster.local",
    				GroupVersionKind: gvk.DestinationRule,
    			},
    			&core.Metadata{
    				FilterMetadata: map[string]*structpb.Struct{
    					IstioMetadataKey: {
    						Fields: map[string]*structpb.Value{
    							"config": {
    								Kind: &structpb.Value_StringValue{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 40K bytes
    - Viewed (0)
Back to top