Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 262 for subkeys (0.19 sec)

  1. staging/src/k8s.io/apiserver/pkg/authentication/token/cache/cache_test.go

    func BenchmarkCacheContentions(b *testing.B) {
    	for _, numKeys := range []int{1 << 8, 1 << 12, 1 << 16} {
    		b.Run(fmt.Sprintf("Simple/keys=%d", numKeys), func(b *testing.B) {
    			benchmarkCache(newSimpleCache(clock.RealClock{}), b, numKeys)
    		})
    		b.Run(fmt.Sprintf("Striped/keys=%d", numKeys), func(b *testing.B) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 15 09:52:18 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  2. 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)
  3. pkg/controlplane/reconcilers/instancecount.go

    	}
    	if !ipCorrect {
    		// We *always* add our own IP address.
    		e.Subsets[0].Addresses = append(e.Subsets[0].Addresses, corev1.EndpointAddress{IP: ip.String()})
    
    		// Lexicographic order is retained by this step.
    		e.Subsets = endpointsv1.RepackSubsets(e.Subsets)
    
    		// If too many IP addresses, remove the ones lexicographically after our
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  4. pkg/controller/endpointslicemirroring/reconciler_test.go

    	}{{
    		testName:               "Endpoints with no subsets",
    		subsets:                []corev1.EndpointSubset{},
    		existingEndpointSlices: []*discovery.EndpointSlice{},
    		expectedNumSlices:      0,
    		expectedClientActions:  0,
    		expectedMetrics:        &expectedMetrics{},
    	}, {
    		testName: "Endpoints with no addresses",
    		subsets: []corev1.EndpointSubset{{
    			Ports: []corev1.EndpointPort{{
    				Name:     "http",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  5. samples/bookinfo/networking/destination-rule-all.yaml

    apiVersion: networking.istio.io/v1alpha3
    kind: DestinationRule
    metadata:
      name: productpage
    spec:
      host: productpage
      subsets:
      - name: v1
        labels:
          version: v1
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: DestinationRule
    metadata:
      name: reviews
    spec:
      host: reviews
      subsets:
      - name: v1
        labels:
          version: v1
      - name: v2
        labels:
          version: v2
      - name: v3
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 09 23:15:58 UTC 2018
    - 972 bytes
    - Viewed (0)
  6. pilot/pkg/model/destination_rule.go

    			for _, subset := range mergedRule.Subsets {
    				existingSubset.Insert(subset.Name)
    			}
    			// we have another destination rule for same host.
    			// concatenate both of them -- essentially add subsets from one to other.
    			// Note: we only add the subsets and do not overwrite anything else like exportTo or top level
    			// traffic policies if they already exist
    			for _, subset := range rule.Subsets {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 07:22:29 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. pkg/controlplane/reconcilers/lease.go

    		return nil, err
    	}
    
    	ipList := make([]string, 0, len(ipInfoList.Items))
    	for _, ip := range ipInfoList.Items {
    		if len(ip.Subsets) > 0 && len(ip.Subsets[0].Addresses) > 0 && len(ip.Subsets[0].Addresses[0].IP) > 0 {
    			ipList = append(ipList, ip.Subsets[0].Addresses[0].IP)
    		}
    	}
    
    	klog.V(6).Infof("Current master IPs listed in storage are %v", ipList)
    
    	return ipList, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  8. pkg/api/v1/endpoints/util.go

    // use it returns the input slice.
    func SortSubsets(subsets []v1.EndpointSubset) []v1.EndpointSubset {
    	for i := range subsets {
    		ss := &subsets[i]
    		sort.Sort(addrsByIPAndUID(ss.Addresses))
    		sort.Sort(addrsByIPAndUID(ss.NotReadyAddresses))
    		sort.Sort(portsByHash(ss.Ports))
    	}
    	sort.Sort(subsetsByHash(subsets))
    	return subsets
    }
    
    func hashObject(hasher hash.Hash, obj interface{}) []byte {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 07 07:01:25 UTC 2018
    - 8K bytes
    - Viewed (0)
  9. istioctl/pkg/describe/describe_test.go

    			args: strings.Split("service productpage", " "),
    			expectedOutput: `Service: productpage
    DestinationRule: productpage for "productpage"
       WARNING POD DOES NOT MATCH ANY SUBSETS.  (Non matching subsets v1)
       Matching subsets: 
          (Non-matching subsets v1)
       No Traffic Policy
    VirtualService: bookinfo
       Route to host "productpage" with weight 30%
       Route to host "productpage2" with weight 20%
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 09:54:01 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  10. internal/config/lambda/parse.go

    func TestSubSysLambdaTargets(ctx context.Context, cfg config.Config, subSys string, transport *http.Transport) error {
    	if err := checkValidLambdaKeysForSubSys(subSys, cfg[subSys]); err != nil {
    		return err
    	}
    
    	targetList, err := fetchSubSysTargets(ctx, cfg, subSys, transport)
    	if err != nil {
    		return err
    	}
    
    	for _, target := range targetList {
    		defer target.Close()
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top