Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 255 for subset16 (0.22 sec)

  1. pilot/pkg/xds/endpoints/mtls_checker.go

    func tlsModeForDestinationRule(drc *config.Config, subset string, port int) *networkingapi.ClientTLSSettings_TLSmode {
    	if drc == nil {
    		return nil
    	}
    	dr, ok := drc.Spec.(*networkingapi.DestinationRule)
    	if !ok || dr == nil {
    		return nil
    	}
    
    	if subset == "" {
    		return trafficPolicyTLSModeForPort(dr.GetTrafficPolicy(), port)
    	}
    
    	for _, ss := range dr.Subsets {
    		if ss.Name != subset {
    			continue
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 01 07:32:22 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. tests/testdata/config/rule-fault-injection.yaml

            http: 8081
          labels:
            version: v2
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: DestinationRule
    metadata:
      name: fault
      namespace: testns
    spec:
      host: c-weighted.extsvc.com
      subsets:
        - name: v1
          labels:
            version: v1
        - name: v2
          labels:
            version: v2
    
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
      name: fault
    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. pkg/config/host/names.go

    func (h Names) Intersection(other Names) Names {
    	result := make(Names, 0, len(h))
    	for _, hHost := range h {
    		for _, oHost := range other {
    			if hHost.SubsetOf(oHost) {
    				if !result.Contains(hHost) {
    					result = append(result, hHost)
    				}
    			} else if oHost.SubsetOf(hHost) {
    				if !result.Contains(oHost) {
    					result = append(result, oHost)
    				}
    			}
    		}
    	}
    	return result
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Nov 01 19:19:22 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  4. pkg/test/framework/components/echo/match/matchers.go

    // - VM
    // - Naked
    // - Headless
    // - TProxy
    // - Multi-Subset
    var RegularPod Matcher = func(instance echo.Instance) bool {
    	return instance.Config().IsRegularPod()
    }
    
    var NotRegularPod = Not(RegularPod)
    
    // MultiVersion matches echos that have Multi-version specific setup.
    var MultiVersion Matcher = func(i echo.Instance) bool {
    	if len(i.Config().Subsets) != 2 {
    		return false
    	}
    	var matchIstio, matchLegacy bool
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. samples/tcp-echo/tcp-echo-all-v1.yaml

          name: tcp
          protocol: TCP
        hosts:
        - "*"
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: DestinationRule
    metadata:
      name: tcp-echo-destination
    spec:
      host: tcp-echo
      subsets:
      - name: v1
        labels:
          version: v1
      - name: v2
        labels:
          version: v2
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
      name: tcp-echo
    spec:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 07 22:48:00 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  6. pkg/config/host/name.go

    	}
    
    	// both are non-wildcards, so do normal string comparison
    	return n == o
    }
    
    // SubsetOf returns true if this hostname is a valid subset of the other hostname. The semantics are
    // the same as "Matches", but only in one direction (i.e., n is covered by o).
    func (n Name) SubsetOf(o Name) bool {
    	hWildcard := n.IsWildCarded()
    	oWildcard := o.IsWildCarded()
    
    	if hWildcard {
    		if oWildcard {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jan 09 16:25:50 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  7. pilot/pkg/model/conversion_test.go

    			},
    		},
    		Subsets: []*networking.Subset{
    			{
    				Name: "foo",
    				Labels: map[string]string{
    					"test": "label",
    				},
    			},
    		},
    	}
    
    	wantJSON := `
    		{
          "host":"something.svc.local",
          "trafficPolicy": {
            "loadBalancer":{"simple":"UNSPECIFIED"}
           },
           "subsets": [
             {"name":"foo","labels":{"test":"label"}}
           ]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 02 20:50:14 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  8. pkg/test/kube/util.go

    		if err != nil {
    			return err
    		}
    		if len(eps.Subsets) == 0 {
    			return fmt.Errorf("%s/%v endpoint not ready: no subsets", ns, name)
    		}
    
    		for _, subset := range eps.Subsets {
    			if len(subset.Addresses) > 0 && len(subset.NotReadyAddresses) == 0 {
    				service = s
    				endpoints = eps
    				return nil
    			}
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 04 22:47:52 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  9. tests/testdata/networking/sidecar-ns-scope/configs.yaml

    spec:
      hosts:
      - http1.ns1.svc.cluster.local
      http:
      - route:
        - destination:
            host: http1.ns1.svc.cluster.local
            subset: v1
          weight: 70
        - destination:
            host: http1.ns1.svc.cluster.local
            subset: v2
          weight: 30
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: ServiceEntry
    metadata:
      name: http1
      namespace: ns2
    spec:
      hosts:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jan 04 17:16:38 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  10. pilot/pkg/networking/grpcgen/cds.go

    	}
    	return resp
    }
    
    // newClusterFilter maps a non-subset cluster name to the list of actual cluster names (default or subset) actually
    // requested by the client. gRPC will usually request a group of clusters that are used in the same route; in some
    // cases this means subsets associated with the same default cluster aren't all expected in the same CDS response.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top