Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,092 for _selector (0.25 sec)

  1. pkg/config/analysis/analyzers/telemetry/selector.go

    	// Using an index for selectoes is problematic because selector != label
    	// We can match a label to a selector, but we can't generate a selector from a label.
    	c.ForEach(gvk.Telemetry, func(rs *resource.Instance) bool {
    		s := rs.Message.(*v1alpha1.Telemetry)
    
    		// For this analysis, ignore Telemetries with no selectors specified at all.
    		if s.Selector == nil || len(s.GetSelector().MatchLabels) == 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. pkg/config/analysis/analyzers/sidecar/selector.go

    	"istio.io/istio/pkg/config/analysis/msg"
    	"istio.io/istio/pkg/config/resource"
    	"istio.io/istio/pkg/config/schema/gvk"
    )
    
    // SelectorAnalyzer validates, per namespace, that:
    // * sidecar resources that define a workload selector match at least one pod
    // * there aren't multiple sidecar resources that select overlapping pods
    type SelectorAnalyzer struct{}
    
    var _ analysis.Analyzer = &SelectorAnalyzer{}
    
    // Metadata implements Analyzer
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/util/workloadinstances/selector.go

    )
    
    // ByServiceSelector returns a predicate that matches workload instances
    // of a given service.
    func ByServiceSelector(namespace string, selector labels.Instance) func(*model.WorkloadInstance) bool {
    	return func(wi *model.WorkloadInstance) bool {
    		return wi.Namespace == namespace && selector.Match(wi.Endpoint.Labels)
    	}
    }
    
    // FindAllInIndex returns a list of workload instances in the index
    // that match given predicate.
    //
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 07 04:26:56 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/ComponentSelectorSerializerTest.groovy

            result.projectPath == selector.projectPath
            result.projectPath() == selector.projectPath()
            result.projectName == selector.projectName
            result.requestedCapabilities == selector.requestedCapabilities
        }
    
        def "serializes root build ProjectComponentSelector"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  5. pkg/config/analysis/analyzers/testdata/telemetry-selector.yaml

    kind: Telemetry
    metadata:
      name: dupe-1
      namespace: default
    spec:
      selector:
        matchLabels:
          app: reviews # Multiple telemetries have the same selector, should generate errors for both
      metrics:
        - providers:
            - name: prometheus
          overrides:
            - match:
                metric: ALL_METRICS
              disabled: false
    ---
    apiVersion: telemetry.istio.io/v1alpha1
    kind: Telemetry
    metadata:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 03 06:56:06 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. pkg/config/analysis/analyzers/testdata/k8sgateway-selector.yaml

    spec:
      containers:
      - image: proxyv2:1.3.1
        name: istio-proxy
    ---
    # only selector is set, should be ineffective
    apiVersion: security.istio.io/v1
    kind: RequestAuthentication
    metadata:
      namespace: default
      name: ra-ineffective
    spec:
      selector:
        matchLabels:
          gateway.networking.k8s.io/gateway-name: bookinfo-gateway
    ---
    # only selector is set, should be ineffective
    apiVersion: security.istio.io/v1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 15 01:19:33 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. pkg/config/analysis/analyzers/testdata/sidecar-selector.yaml

        labels:
          app: reviews # Multiple sidecars have the same selector, should generate errors for both
      egress:
      - hosts:
        - "./*"
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: Sidecar
    metadata:
      name: dupe-2
      namespace: default
    spec:
      workloadSelector:
        labels:
          app: reviews # Multiple sidecars have the same selector, should generate errors for both
      egress:
      - hosts:
        - "./*"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 17 12:28:05 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  8. pkg/config/analysis/analyzers/testdata/telemetry-default-selector.yaml

    kind: Telemetry
    metadata:
      name: no-selector # Since this is the only Telemetry in the namespace without a selector, no conflict
      namespace: ns1
    spec:
      metrics:
      - providers:
        - name: prometheus
        overrides:
        - match:
            metric: ALL_METRICS
          disabled: false
    ---
    apiVersion: telemetry.istio.io/v1alpha1
    kind: Telemetry
    metadata:
      name: has-selector
      namespace: ns1
    spec:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 03 06:56:06 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  9. pkg/config/analysis/analyzers/testdata/sidecar-default-selector.yaml

    kind: Sidecar
    metadata:
      name: no-selector # Since this is the only Sidecar in the namespace without a workload selector, no conflict
      namespace: ns1
    spec:
      egress:
      - hosts:
        - "./*"
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: Sidecar
    metadata:
      name: has-selector
      namespace: ns1
    spec:
      workloadSelector: # Since this has a workload selector, it shouldn't conflict with the other Sidecar in the namespace
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Dec 23 13:38:38 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  10. hack/testdata/filter/pod-apply-selector.yaml

    apiVersion: v1
    kind: Pod
    metadata:
      name: selector-test-pod
      labels:
        name: selector-test-pod
        unique-label: bingbang
    spec:
      containers:
      - name: kubernetes-pause
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 07:02:51 UTC 2024
    - 211 bytes
    - Viewed (0)
Back to top