Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for HasSidecar (0.23 sec)

  1. tests/integration/ambient/baseline_test.go

    					return true
    				}
    				if !from.Config().IsUncaptured() && opts.To.Config().HasSidecar() {
    					return true
    				}
    				if from.Config().HasSidecar() && !opts.To.Config().IsUncaptured() {
    					return true
    				}
    				if from.Config().HasSidecar() && opts.To.Config().HasSidecar() {
    					return true
    				}
    				return false
    			}
    			_ = Never
    			_ = SameNetwork
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  2. pkg/test/framework/components/echo/kube/workload.go

    	"istio.io/istio/pkg/test/util/retry"
    )
    
    const (
    	appContainerName = "app"
    )
    
    var _ echo.Workload = &workload{}
    
    type workloadConfig struct {
    	pod        corev1.Pod
    	hasSidecar bool
    	grpcPort   uint16
    	cluster    cluster.Cluster
    	tls        *common.TLSSettings
    	stop       chan struct{}
    }
    
    type workload struct {
    	client *echoClient.Client
    
    	workloadConfig
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 25 19:46:28 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  3. tests/integration/ambient/waypoint_test.go

    				src := src
    				if !hboneClient(src) {
    					// TODO if we hairpinning, don't skip here
    					continue
    				}
    				t.NewSubTestf("from %s", src.ServiceName()).Run(func(t framework.TestContext) {
    					if src.Config().HasSidecar() {
    						t.Skip("TODO: sidecars don't properly handle use-waypoint")
    					}
    					for _, host := range apps.Captured.Config().HostnameVariants() {
    						host := host
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. pkg/test/framework/components/echo/kube/workload_manager.go

    				workloadNotReady = w
    			}
    			return nil
    		}
    	}
    
    	// Add the pod to the end of the workload list.
    	newWorkload, err := newWorkload(workloadConfig{
    		pod:        *pod,
    		hasSidecar: workloadHasSidecar(pod),
    		cluster:    m.cfg.Cluster,
    		grpcPort:   m.grpcPort,
    		tls:        m.tls,
    		stop:       m.stopCh,
    	}, m.ctx)
    	if err != nil {
    		return err
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 02:12:37 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  5. pkg/test/framework/components/echo/config.go

    	return c.ServiceWaypointProxy != ""
    }
    
    func (c Config) HasWorkloadAddressedWaypointProxy() bool {
    	return c.WorkloadWaypointProxy != ""
    }
    
    func (c Config) HasSidecar() bool {
    	var perPodEnable, perPodDisable bool
    	if len(c.Subsets) > 0 && c.Subsets[0].Labels != nil {
    		perPodEnable = c.Subsets[0].Labels["sidecar.istio.io/inject"] == "true"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  6. pkg/test/framework/components/echo/echotest/filters.go

    }
    
    // HasL7 only allows traffic where there is some L7 processing occurring on the path
    var HasL7 CombinationFilter = func(from echo.Instance, to echo.Instances) echo.Instances {
    	if from.Config().HasSidecar() || from.Config().IsProxylessGRPC() {
    		// client has l7
    		return to
    	}
    	// otherwise give only serverside l7 endpoints
    	return match.Matcher(func(instance echo.Instance) bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 29 23:48:45 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. pkg/test/framework/components/echo/common/deployment/echos.go

    			},
    		}
    		defaultConfigs = append(defaultConfigs, proxylessGRPC)
    	}
    
    	if t.Settings().Ambient {
    		if t.Settings().AmbientEverywhere {
    			for i, config := range defaultConfigs {
    				if !config.HasSidecar() && !config.IsProxylessGRPC() {
    					scopes.Framework.Infof("adding waypoint to %s", config.NamespacedName())
    					defaultConfigs[i].ServiceWaypointProxy = "shared"
    					defaultConfigs[i].WorkloadWaypointProxy = "shared"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 20 16:01:31 UTC 2024
    - 16K bytes
    - Viewed (0)
  8. pilot/pkg/model/push_context.go

    	// TODO: logic to merge multiple sidecar resources
    	// Currently we assume that there will be only one sidecar config for a namespace.
    	sidecars, hasSidecar := ps.sidecarIndex.sidecarsByNamespace[proxy.ConfigNamespace]
    	switch proxy.Type {
    	case Router, Waypoint:
    		ps.sidecarIndex.derivedSidecarMutex.Lock()
    		defer ps.sidecarIndex.derivedSidecarMutex.Unlock()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
Back to top