Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 91 for WorkloadSelector (0.18 sec)

  1. pilot/pkg/model/sidecar_test.go

    	configs18 = &config.Config{
    		Meta: config.Meta{
    			Name:      "sidecar-scope-with-workloadselector-specific-dr-match",
    			Namespace: "mynamespace",
    			Labels:    map[string]string{"app": "app2"},
    		},
    		Spec: &networking.Sidecar{},
    	}
    
    	configs19 = &config.Config{
    		Meta: config.Meta{
    			Name:      "sidecar-scope-with-workloadselector-specific-dr-no-match",
    			Namespace: "mynamespace",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  2. tests/integration/telemetry/policy/testdata/enable_envoy_local_ratelimit_sa.yaml

    apiVersion: networking.istio.io/v1alpha3
    kind: EnvoyFilter
    metadata:
      name: filter-local-ratelimit-svc-sa
      namespace: istio-system
    spec:
      workloadSelector:
        labels:
          app: srv
      configPatches:
        - applyTo: HTTP_FILTER
          match:
            context: SIDECAR_INBOUND
          patch:
            operation: INSERT_BEFORE
            value:
              name: envoy.filters.http.local_ratelimit
              typed_config:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 24 23:09:50 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  3. pilot/pkg/model/extensions_test.go

    			},
    			want: true,
    		},
    		{
    			desc: "only the workload selector is given",
    			wasmPlugin: &WasmPluginWrapper{WasmPlugin: &extensions.WasmPlugin{
    				Selector: &v1beta1.WorkloadSelector{
    					MatchLabels: map[string]string{"a": "b"},
    				},
    				Match: nil,
    			}},
    			proxyLabels: map[string]string{"a": "b", "c": "d"},
    			listenerInfo: WasmPluginListenerInfo{
    				Port:  1234,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/serviceregistry_test.go

    			Domain:           "cluster.local",
    		},
    		Spec: &networking.ServiceEntry{
    			Hosts: []string{"service.namespace.svc.cluster.local"},
    			Ports: []*networking.ServicePort{port},
    			WorkloadSelector: &networking.WorkloadSelector{
    				Labels: labels,
    			},
    			Resolution: networking.ServiceEntry_STATIC,
    		},
    	}
    	service := &v1.Service{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "service",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  5. samples/ratelimit/local-rate-limit-service.yaml

    apiVersion: networking.istio.io/v1alpha3
    kind: EnvoyFilter
    metadata:
      name: filter-local-ratelimit-svc
      namespace: istio-system
    spec:
      workloadSelector:
        labels:
          app: productpage
      configPatches:
        - applyTo: HTTP_FILTER
          match:
            context: SIDECAR_INBOUND
            listener:
              filterChain:
                filter:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 31 08:22:09 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. tests/integration/pilot/cross_revision_test.go

    			// Allow all namespaces so we do not hit passthrough cluster
    			t.ConfigIstio().YAML(apps.Namespace.Name(), `apiVersion: networking.istio.io/v1alpha3
    kind: Sidecar
    metadata:
      name: allow-cross-namespaces
    spec:
      workloadSelector:
        labels:
          app: a
      egress:
      - hosts:
        - "*/*"`).ApplyOrFail(t)
    			// create an echo instance in each revisioned namespace, all these echo
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. pilot/pkg/model/push_context_test.go

    	ps.ServiceIndex.HostnameAndNamespace["svc3.istio-system.cluster.local"] = map[string]*Service{"istio-system": nil}
    
    	configStore := NewFakeStore()
    	sidecarWithWorkloadSelector := &networking.Sidecar{
    		WorkloadSelector: &networking.WorkloadSelector{
    			Labels: map[string]string{"app": "foo"},
    		},
    		Egress: []*networking.IstioEgressListener{
    			{
    				Hosts: []string{"default/*"},
    			},
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/serviceentry/controller.go

    	configsUpdated := sets.New[model.ConfigKey]()
    	fullPush := false
    	for _, cfg := range cfgs {
    		se := cfg.Spec.(*networking.ServiceEntry)
    		if se.WorkloadSelector == nil || (!labelsChanged && !labels.Instance(se.WorkloadSelector.Labels).Match(wi.Endpoint.Labels)) {
    			// If the labels didn't change. And the new SE doesn't match then the old didn't match either and we can skip processing it.
    			continue
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/serviceentry/conversion_test.go

    		Hosts: []string{"selector.com"},
    		Ports: []*networking.ServicePort{
    			{Number: 444, Name: "tcp-444", Protocol: "tcp"},
    			{Number: 445, Name: "http-445", Protocol: "http"},
    		},
    		WorkloadSelector: &networking.WorkloadSelector{
    			Labels: map[string]string{"app": "wle"},
    		},
    		Resolution: networking.ServiceEntry_DNS,
    	},
    }
    
    // ServiceEntry with a selector
    var selector = &config.Config{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 39K bytes
    - Viewed (0)
  10. pilot/pkg/model/proxy_config_test.go

    		Annotations: annotations,
    	}
    }
    
    func v(x int32) *wrappers.Int32Value {
    	return &wrappers.Int32Value{Value: x}
    }
    
    func selector(l map[string]string) *istioTypes.WorkloadSelector {
    	return &istioTypes.WorkloadSelector{MatchLabels: l}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 21 01:23:19 UTC 2023
    - 11.8K bytes
    - Viewed (0)
Back to top