Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 499 for weighted (0.14 sec)

  1. pilot/pkg/config/kube/gateway/testdata/weighted.yaml

            value: /get
        backendRefs:
          - name: httpbin
            port: 80
            weight: 2
          - 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:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 18 22:43:39 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. pilot/pkg/config/kube/gateway/testdata/weighted.yaml.golden

        name: default.http.0
        route:
        - destination:
            host: httpbin.default.svc.domain.suffix
            port:
              number: 80
          weight: 2
        - destination:
            host: httpbin-other.default.svc.domain.suffix
            port:
              number: 8080
          weight: 3
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
      annotations:
        internal.istio.io/parents: TCPRoute/tcp.default
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 18:54:10 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/vendor/golang.org/x/sync/semaphore/semaphore.go

    	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
    // are available or ctx is done. On success, returns nil. On failure, returns
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. 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)
  6. pilot/pkg/xds/eds_sh_test.go

    	}
    
    	lbEndpoints := eps[0].LbEndpoints
    	if len(lbEndpoints) != len(expected.weights) {
    		t.Fatalf("unexpected number of endpoints.\nWant:\n%v\nGot:\n%v", expected.getAddrs(), getLbEndpointAddrs(lbEndpoints))
    	}
    
    	for addr, weight := range expected.weights {
    		var match *endpoint.LbEndpoint
    		for _, ep := range lbEndpoints {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. 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)
  8. pkg/scheduler/framework/extender.go

    	// Prioritize based on extender-implemented priority functions. The returned scores & weight
    	// are used to compute the weighted score for an extender. The weighted scores are added to
    	// the scores computed by Kubernetes scheduler. The total scores are used to do the host selection.
    	Prioritize(pod *v1.Pod, nodes []*NodeInfo) (hostPriorities *extenderv1.HostPriorityList, weight int64, err error)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/loadbalancer/loadbalancer.go

    	// by providing weights in LocalityLbEndpoints via load_balancing_weight.
    	// By setting weights across different localities, it can allow
    	// Envoy to do weighted load balancing across different zones and geographical locations.
    	for _, localityWeightSetting := range distribute {
    		if localityWeightSetting != nil &&
    			util.LocalityMatch(locality, localityWeightSetting.From) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 05:38:57 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. pilot/pkg/config/kube/gateway/testdata/zero.yaml.golden

      namespace: default
    spec:
      gateways:
      - istio-system/gateway-istio-autogenerated-k8s-gateway-default
      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.3K bytes
    - Viewed (0)
Back to top