Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 524 for subset16 (0.2 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. samples/bookinfo/networking/destination-rule-all-mtls.yaml

    spec:
      host: productpage
      trafficPolicy:
        tls:
          mode: ISTIO_MUTUAL
      subsets:
      - name: v1
        labels:
          version: v1
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: DestinationRule
    metadata:
      name: reviews
    spec:
      host: reviews
      trafficPolicy:
        tls:
          mode: ISTIO_MUTUAL
      subsets:
      - name: v1
        labels:
          version: v1
      - name: v2
        labels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 09 23:15:58 UTC 2018
    - 1.1K bytes
    - Viewed (0)
  9. pkg/config/analysis/analyzers/testdata/virtualservice_dupmatches.yaml

            subset: v1
    ---
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
      name: duplicate-tcp-match
    spec:
      hosts:
      - "*"
      gateways:
      - tcp-echo-gateway
      tcp:
      - match:
        - port: 31400
        route:
        - destination:
            host: tcp-echo
            port:
              number: 9000
            subset: v1
      - match:
        - port: 31400
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 17 12:28:05 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  10. pkg/config/analysis/analyzers/virtualservice/destinationrules.go

    ) bool {
    	name := util.GetResourceNameFromHost(vsNamespace, destination.GetHost())
    	subset := destination.GetSubset()
    
    	// if there's no subset specified, we're done
    	if subset == "" {
    		return true
    	}
    
    	hs := hostAndSubset{
    		host:   name,
    		subset: subset,
    	}
    	if _, ok := destHostsAndSubsets[hs]; ok {
    		return true
    	}
    
    	return false
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 07 15:18:05 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top