Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 190 for subset16 (0.18 sec)

  1. pilot/pkg/networking/core/cluster_builder.go

    // and returns them along with allFound=True, or returns allFound=False indicating a cache miss. In either case,
    // the cache tokens are returned to allow future writes to the cache.
    // This code will only trigger a cache hit if all subset clusters are present. This simplifies the code a bit,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  2. pilot/pkg/xds/endpoints/ep_filters_test.go

    					},
    					Subsets: []*networking.Subset{{
    						Name:   "disable-tls",
    						Labels: map[string]string{"app": "example"},
    						TrafficPolicy: &networking.TrafficPolicy{
    							Tls: &networking.ClientTLSSettings{Mode: networking.ClientTLSSettings_DISABLE},
    						},
    					}},
    				},
    			},
    			IsMtlsDisabled: true,
    			SubsetName:     "disable-tls",
    		},
    		"mtls-on-subset-level": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  3. pkg/registry/core/service/storage/storage.go

    	}
    	eps := obj.(*api.Endpoints)
    	if len(eps.Subsets) == 0 {
    		return nil, nil, errors.NewServiceUnavailable(fmt.Sprintf("no endpoints available for service %q", svcName))
    	}
    	// Pick a random Subset to start searching from.
    	ssSeed := rand.Intn(len(eps.Subsets))
    	// Find a Subset that has the port.
    	for ssi := 0; ssi < len(eps.Subsets); ssi++ {
    		ss := &eps.Subsets[(ssSeed+ssi)%len(eps.Subsets)]
    		if len(ss.Addresses) == 0 {
    			continue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 13:09:33 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  4. pkg/controlplane/reconcilers/endpointsadapter_test.go

    	}
    	epSlice.Labels = map[string]string{discovery.LabelServiceName: name}
    	subset := corev1.EndpointSubset{}
    
    	for i, port := range ports {
    		endpointPort := corev1.EndpointPort{
    			Name:     fmt.Sprintf("port-%d", i),
    			Port:     int32(port),
    			Protocol: corev1.ProtocolTCP,
    		}
    		subset.Ports = append(subset.Ports, endpointPort)
    		epSlice.Ports = append(epSlice.Ports, discovery.EndpointPort{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  5. pilot/pkg/xds/mesh_network_test.go

    						},
    					})
    					for subset, eps := range tc.expectations {
    						client.ExpectWithWeight(&workload{kind: sc.expectKind, name: name, namespace: "test", port: port}, subset, eps...)
    					}
    					configObjects := `
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: DestinationRule
    metadata:
      name: subset-se
      namespace: test
    spec:
      host: "*"
      subsets:
      - name: v1
        labels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  6. tests/integration/security/reachability_test.go

    				// Create a custom echo deployment in NS1 with subsets that allows us to test the
    				// migration of a workload to istio (from no sidecar to sidecar).
    				migrationApp = deployment.New(t).
    					WithClusters(t.Clusters()...).WithConfig(echo.Config{
    					Namespace:      echo1NS,
    					Service:        migrationServiceName,
    					ServiceAccount: true,
    					Ports:          ports.All(),
    					Subsets: []echo.SubsetConfig{
    						{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/cpumanager/cpu_assignment.go

    func (a *cpuAccumulator) isFailed() bool {
    	return a.numCPUsNeeded > a.details.CPUs().Size()
    }
    
    // iterateCombinations walks through all n-choose-k subsets of size k in n and
    // calls function 'f()' on each subset. For example, if n={0,1,2}, and k=2,
    // then f() will be called on the subsets {0,1}, {0,2}. and {1,2}. If f() ever
    // returns 'Break', we break early and exit the loop.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 25 23:56:21 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter_test.go

    	}{
    		{
    			name: "expression exceed RuntimeCELCostBudget at fist expression",
    			validations: []ExpressionAccessor{
    				&condition{
    					Expression: "has(object.subsets) && object.subsets.size() < 2",
    				},
    				&condition{
    					Expression: "has(object.subsets)",
    				},
    			},
    			attributes:               newValidAttribute(nil, false),
    			hasParamKind:             false,
    			testRuntimeCELCostBudget: 1,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 40.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

        assertThat(set.subSet(1, 4)).containsExactly(1, 2, 3).inOrder();
        assertThat(set.subSet(2, 4)).containsExactly(2, 3).inOrder();
        assertThat(set.subSet(3, 4)).containsExactly(3).inOrder();
        assertThat(set.subSet(3, 3)).isEmpty();
        assertThat(set.subSet(2, 3)).containsExactly(2).inOrder();
        assertThat(set.subSet(1, 3)).containsExactly(1, 2).inOrder();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/reconcilers/peer_endpoint_lease.go

    		if ip.Labels[APIServerIdentityLabel] == serverId {
    			if len(ip.Subsets) > 0 {
    				var ipStr, portStr string
    				if len(ip.Subsets[0].Addresses) > 0 {
    					if len(ip.Subsets[0].Addresses[0].IP) > 0 {
    						ipStr = ip.Subsets[0].Addresses[0].IP
    					}
    				}
    				if len(ip.Subsets[0].Ports) > 0 {
    					portStr = fmt.Sprint(ip.Subsets[0].Ports[0].Port)
    				}
    				fullAddr = net.JoinHostPort(ipStr, portStr)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 12.3K bytes
    - Viewed (0)
Back to top