Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for unweighted (0.28 sec)

  1. pilot/pkg/xds/mesh_network_test.go

    		w.testUnweighted(t, s)
    		w.testWeighted(t, s)
    	})
    }
    
    func (w *workload) testUnweighted(t *testing.T, s *xds.FakeDiscoveryServer) {
    	if w.expectations == nil {
    		return
    	}
    	t.Run("unweighted", func(t *testing.T) {
    		// wait for eds cache update
    		retry.UntilSuccessOrFail(t, func() error {
    			eps := xdstest.ExtractLoadAssignments(s.Endpoints(w.proxy))
    
    			for c, want := range w.expectations {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  2. pilot/pkg/config/kube/gateway/testdata/weighted.yaml

          - name: httpbin-other
            port: 8080
            weight: 3
          - name: httpbin-zero
            port: 8080
            weight: 0
      - matches:
        - path:
            type: PathPrefix
            value: /weighted-100
        backendRefs:
        - filters:
          - requestHeaderModifier:
              add:
              - name: foo
                value: bar
            type: RequestHeaderModifier
          - responseHeaderModifier:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 18 22:43:39 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. tests/testdata/config/rule-weighted-route.yaml

    kind: DestinationRule
    metadata:
      name: c-weighted
      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: c-weighted
      namespace: testns
    spec:
      hosts:
        - c-weighted.extsvc.com
      http:
        - route:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jan 19 04:56:49 UTC 2019
    - 1.1K bytes
    - Viewed (0)
  4. tests/testdata/config/static-weighted-se.yaml

    apiVersion: networking.istio.io/v1alpha3
    kind: ServiceEntry
    metadata:
      name: httpbin
    spec:
      hosts:
        - weighted.static.svc.cluster.local
      ports:
        - number: 80
          name: http
          protocol: HTTP
      resolution: STATIC
      endpoints:
        - address: 3.3.3.3
          locality: a
        - address: 2.2.2.2
          locality: a
          weight: 8
        - address: 1.1.1.1
          locality: b
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 18 01:09:21 UTC 2019
    - 394 bytes
    - Viewed (0)
  5. pilot/pkg/config/kube/gateway/testdata/weighted.yaml.golden

      namespace: default
    spec:
      gateways:
      - istio-system/gateway-istio-autogenerated-k8s-gateway-http
      hosts:
      - first.domain.example
      http:
      - match:
        - uri:
            prefix: /weighted-100
        name: default.http.1
        route:
        - destination:
            host: foo-svc.default.svc.domain.suffix
            port:
              number: 8000
          headers:
            request:
              add:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 18:54:10 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. tests/testdata/config/rule-content-route.yaml

    # Will use c-weighted endpoint
    apiVersion: networking.istio.io/v1alpha3
    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
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 28 21:38:06 UTC 2019
    - 566 bytes
    - Viewed (0)
  7. pilot/pkg/config/kube/gateway/testdata/weighted.status.yaml.golden

    Lior Lieberman <******@****.***> 1707338903 +0000
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 07 20:48:23 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sync/semaphore/semaphore.go

    func NewWeighted(n int64) *Weighted {
    	w := &Weighted{size: n}
    	return w
    }
    
    // Weighted provides a way to bound concurrent access to a resource.
    // The callers can request access with a given weight.
    type Weighted struct {
    	size    int64
    	cur     int64
    	mu      sync.Mutex
    	waiters list.List
    }
    
    // Acquire acquires the semaphore with a weight of n, blocking until resources
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/listener_waypoint.go

    					HostRewriteLiteral: operations.Authority,
    				}
    			}
    		}
    
    		weighted = append(weighted, clusterWeight)
    	}
    
    	// rewrite to a single cluster if there is only weighted cluster
    	if len(weighted) == 1 {
    		action.ClusterSpecifier = &route.RouteAction_Cluster{Cluster: weighted[0].Name}
    		out.RequestHeadersToAdd = append(out.RequestHeadersToAdd, weighted[0].RequestHeadersToAdd...)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  10. releasenotes/notes/43398.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: istioctl
    issue:
      - 43368
    releaseNotes:
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 27 05:29:13 UTC 2023
    - 252 bytes
    - Viewed (0)
Back to top