Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 364 for subset16 (0.34 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. pilot/pkg/networking/core/route/route_test.go

    						GroupVersionKind: gvk.DestinationRule,
    						Name:             "acme",
    						Namespace:        "istio-system",
    					},
    					Spec: &networking.DestinationRule{
    						Host:    "*.example.org",
    						Subsets: []*networking.Subset{networkingSubset},
    					},
    				},
    			},
    		})
    
    		proxy := node(cg)
    		hashByDestination := route.GetConsistentHashForVirtualService(cg.PushContext(), proxy, virtualService)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
  6. tests/integration/pilot/multicluster_test.go

      hosts:
      - "%s"
    `, apps.B.Config().ClusterLocalFQDN()))
    					},
    				},
    				{
    					"subsets",
    					func(t framework.TestContext) {
    						cfg := tmpl.EvaluateOrFail(t, `
    apiVersion: networking.istio.io/v1beta1
    kind: DestinationRule
    metadata:
      name: mysvc-dr
    spec:
      host: {{.host}}
      subsets:
    {{- range .dst }}
      - name: {{ .Config.Cluster.Name }}
        labels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. pilot/pkg/model/sidecar_test.go

    					},
    					Tcp: &networking.ConnectionPoolSettings_TCPSettings{
    						ConnectTimeout: &durationpb.Duration{Seconds: 33},
    					},
    				},
    			},
    			Subsets: []*networking.Subset{
    				{
    					Name: "subset1",
    				},
    				{
    					Name: "subset2",
    				},
    			},
    		},
    	}
    	destinationRule3 = config.Config{
    		Meta: config.Meta{
    			Name:      "drRule3",
    			Namespace: "mynamespace",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 74.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