Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for shardKey (0.32 sec)

  1. pilot/pkg/model/endpointshards.go

    func ShardKeyFromRegistry(instance shardRegistry) ShardKey {
    	return ShardKey{Cluster: instance.Cluster(), Provider: instance.Provider()}
    }
    
    // ShardKey is the key for EndpointShards made of a key with the format "provider/cluster"
    type ShardKey struct {
    	Cluster  cluster.ID
    	Provider provider.ID
    }
    
    func (sk ShardKey) String() string {
    	return string(sk.Provider) + "/" + string(sk.Cluster) // format: %s/%s
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  2. pilot/pkg/xds/endpoints/ep_filters_test.go

    			shards.Shards[sk][i] = ep
    		}
    	}
    	// convert to EndpointIndex
    	index := model.NewEndpointIndex(model.NewXdsCache())
    	for shardKey, testEps := range shards.Shards {
    		svc, _ := index.GetOrCreateEndpointShard("example.ns.svc.cluster.local", "ns")
    		svc.Lock()
    		svc.Shards[shardKey] = testEps
    		svc.Unlock()
    	}
    	return index
    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. pilot/pkg/xds/endpoints/endpoint_builder.go

    	for _, shardKey := range keys {
    		if shardKey.Cluster != b.clusterID {
    			// If the downstream service is configured as cluster-local, only include endpoints that
    			// reside in the same cluster.
    			if isClusterLocal || b.service.Attributes.NodeLocal {
    				continue
    			}
    		}
    		eps = append(eps, shards.Shards[shardKey]...)
    	}
    	return eps
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 02:18:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  4. pilot/pkg/model/push_context.go

    	// registry name.
    	// Note: the difference with `EDSUpdate` is that it only update the cache rather than requesting a push
    	EDSCacheUpdate(shard ShardKey, hostname string, namespace string, entry []*IstioEndpoint)
    
    	// SvcUpdate is called when a service definition is updated/deleted.
    	SvcUpdate(shard ShardKey, hostname string, namespace string, event Event)
    
    	// ConfigUpdate is called to notify the XDS server of config updates and request a push.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
  5. pilot/pkg/model/push_context_test.go

    		services: []*Service{svc5_1, svc5_2},
    	}
    
    	env.EndpointIndex.shardsBySvc = map[string]map[string]*EndpointShards{
    		svc5_1.Hostname.String(): {
    			svc5_1.Attributes.Namespace: {
    				Shards: map[ShardKey][]*IstioEndpoint{
    					{Cluster: "Kubernets", Provider: provider.External}: {
    						&IstioEndpoint{
    							Address:         "1.1.1.1",
    							EndpointPort:    7000,
    							ServicePortName: "uds",
    						},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.ResourceQuota.json

            "time": "2004-01-01T01:01:01Z",
            "fieldsType": "fieldsTypeValue",
            "fieldsV1": {},
            "subresource": "subresourceValue"
          }
        ]
      },
      "spec": {
        "hard": {
          "hardKey": "0"
        },
        "scopes": [
          "scopesValue"
        ],
        "scopeSelector": {
          "matchExpressions": [
            {
              "scopeName": "scopeNameValue",
              "operator": "operatorValue",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.ResourceQuota.yaml

      resourceVersion: resourceVersionValue
      selfLink: selfLinkValue
      uid: uidValue
    spec:
      hard:
        hardKey: "0"
      scopeSelector:
        matchExpressions:
        - operator: operatorValue
          scopeName: scopeNameValue
          values:
          - valuesValue
      scopes:
      - scopesValue
    status:
      hard:
        hardKey: "0"
      used:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.cc

          location, output_type, concat_dimension_op.getOutput(), inputs);
    }
    
    // For tile sharded inputs to TPU computation, inject split op between the
    // input values and TPU computation so that tiled input values are passed in
    // as inputs to TPU computations. If more than one dimension is sharded, then
    // a tree of connected split ops are added before tf_device.parallel_execute op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:28:13 UTC 2024
    - 34K bytes
    - Viewed (0)
  9. src/crypto/tls/handshake_server_tls13.go

    		if err != nil {
    			c.sendAlert(alertIllegalParameter)
    			return errors.New("tls: invalid Kyber client key share")
    		}
    		hs.sharedKey = append(hs.sharedKey, kyberShared...)
    		hs.hello.serverShare.data = append(hs.hello.serverShare.data, ciphertext...)
    	}
    
    	selectedProto, err := negotiateALPN(c.config.NextProtos, hs.clientHello.alpnProtocols, c.quic != nil)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_sharding_identification_pass.cc

        if (tensor_rank < tile_assignment_rank) {
          if (partitioned_op) {
            partitioned_op->emitError()
                << "tensor of type " << ranked_type << " (rank=" << tensor_rank
                << ") sharded in " << (tile_assignment_rank - tensor_rank)
                << " extra dimension(s) by: " << sharding->DebugString();
          }
    
          return mlir::failure();
        }
      }
      return mlir::success();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 28.9K bytes
    - Viewed (0)
Back to top