Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for sourceLabels (0.19 sec)

  1. samples/addons/extras/prometheus-operator.yaml

        interval: 15s
        relabelings:
        - action: keep
          sourceLabels: [__meta_kubernetes_pod_container_name]
          regex: "istio-proxy"
        - action: keep
          sourceLabels: [__meta_kubernetes_pod_annotationpresent_prometheus_io_scrape]
        - action: replace
          regex: (\d+);(([A-Fa-f0-9]{1,4}::?){1,7}[A-Fa-f0-9]{1,4})
          replacement: '[$2]:$1'
          sourceLabels:
          - __meta_kubernetes_pod_annotation_prometheus_io_port
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 24 06:41:54 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. tests/testdata/config/rule-fault-injection.yaml

    kind: VirtualService
    metadata:
      name: fault
      namespace: testns
    spec:
      hosts:
        - fault.test.istio.io
      http:
        - match:
          - headers:
              version:
                exact: v2
            sourceLabels:
              version: v1
          route:
          - destination:
              host: c
              subset: v2
            weight: 100
          fault:
            delay:
              percentage:
                value: 100.0
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 28 21:38:06 UTC 2019
    - 1.2K bytes
    - Viewed (0)
  3. pilot/pkg/model/virtualservice.go

    	// queryparams
    	out.QueryParams = maps.MergeCopy(root.QueryParams, delegate.QueryParams)
    
    	if out.Port == 0 {
    		out.Port = root.Port
    	}
    
    	// SourceLabels
    	out.SourceLabels = maps.MergeCopy(root.SourceLabels, delegate.SourceLabels)
    
    	if out.SourceNamespace == "" {
    		out.SourceNamespace = root.SourceNamespace
    	}
    
    	if len(out.Gateways) == 0 {
    		out.Gateways = root.Gateways
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 11:17:03 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  4. tests/testdata/config/rule-content-route.yaml

    kind: VirtualService
    metadata:
      name: headers-route
      namespace: testns
    spec:
      hosts:
        - headers.test.istio.io
      http:
        - match:
          - headers:
              version:
                exact: v2
            sourceLabels:
              version: v1
          route:
          - destination:
              host: c-weighted.extsvc.com
              subset: v2
            weight: 100
        - route:
          - destination:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 28 21:38:06 UTC 2019
    - 566 bytes
    - Viewed (0)
  5. tests/testdata/config/rule-regex-route.yaml

    kind: VirtualService
    metadata:
      name: regex-route
      namespace: testns
    spec:
      hosts:
        - regex.extsvc.com
      http:
        - match:
          - headers:
              foo:
                regex: "b.*"
            sourceLabels:
              version: v1
          route:
          - destination:
              host: regex.extsvc.com
              subset: v2
            weight: 100
        - route:
          - destination:
              host: regex.extsvc.com
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 28 21:38:06 UTC 2019
    - 1.1K bytes
    - Viewed (0)
  6. tests/fuzz/testdata/FuzzConfigValidation2/fuzz_config_validation2.dict

    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 07 17:07:53 UTC 2021
    - 2K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/tls.go

    	//
    	// A list of matches may contain duplicate runtime matches, but different static matches. For example:
    	//
    	// {sni_hosts: A, sourceLabels: X} => destination M
    	// {sni_hosts: A, sourceLabels: *} => destination N
    	//
    	// For a proxy with labels X, we can evaluate the static predicates to get:
    	// {sni_hosts: A} => destination M
    	// {sni_hosts: A} => destination N
    	//
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  8. pilot/pkg/model/virtualservice_test.go

    			root: []*networking.HTTPMatchRequest{
    				{
    					SourceLabels: map[string]string{"app": "test"},
    				},
    			},
    			delegate: []*networking.HTTPMatchRequest{
    				{
    					SourceLabels: map[string]string{"version": "v1"},
    				},
    			},
    			expected: []*networking.HTTPMatchRequest{
    				{
    					SourceLabels: map[string]string{"app": "test", "version": "v1"},
    				},
    			},
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 60.6K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/route/route_cache.go

    		vs := config.Spec.(*networking.VirtualService)
    		for _, httpRoute := range vs.Http {
    			for _, match := range httpRoute.Match {
    				// if vs has source match, not cacheable
    				if len(match.SourceLabels) > 0 || match.SourceNamespace != "" {
    					return false
    				}
    			}
    		}
    	}
    
    	return true
    }
    
    func extractNamespaceForKubernetesService(hostname string) (string, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. tests/integration/pilot/multicluster_test.go

    apiVersion: networking.istio.io/v1beta1
    kind: VirtualService
    metadata:
      name: mysvc-vs
    spec:
      hosts:
      - {{.host}}
      http:
    {{- range .dst }}
      - name: "{{ .Config.Cluster.Name }}-local"
        match:
        - sourceLabels:
            topology.istio.io/cluster: {{ .Config.Cluster.Name }}
        route:
        - destination:
            host: {{$.host}}
            subset: {{ .Config.Cluster.Name }}
    {{- end }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top