Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 90 for Shardz (0.53 sec)

  1. pilot/pkg/model/endpointshards.go

    	es.RLock()
    	defer es.RUnlock()
    	res := &EndpointShards{
    		Shards:          make(map[ShardKey][]*IstioEndpoint, len(es.Shards)),
    		ServiceAccounts: es.ServiceAccounts.Copy(),
    	}
    	for k, v := range es.Shards {
    		res.Shards[k] = make([]*IstioEndpoint, 0, len(v))
    		for _, ep := range v {
    			res.Shards[k] = append(res.Shards[k], ep.DeepCopy())
    		}
    	}
    	return res
    }
    
    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/debug.go

    	writeJSON(w, all, req)
    }
    
    // Dumps info about the endpoint shards, tracked using the new direct interface.
    // Legacy registry provides are synced to the new data structure as well, during
    // the full push.
    func (s *DiscoveryServer) endpointShardz(w http.ResponseWriter, req *http.Request) {
    	writeJSON(w, s.Env.EndpointIndex.Shardz(), req)
    }
    
    func (s *DiscoveryServer) cachez(w http.ResponseWriter, req *http.Request) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  3. docs/debugging/xl-meta/main.go

    									valid := 0
    									for shardIdx, shard := range splitFilled[:k] {
    										shardConfig[shardIdx] = shard[offset]
    										valid += int(shard[offset])
    										if shard[offset] == 0 {
    											shards[shardIdx] = shards[shardIdx][:0]
    										} else {
    											shards[shardIdx] = append(shards[shardIdx][:0], splitData[shardIdx][offset])
    										}
    									}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 31 14:49:23 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/serviceentry/controller.go

    	}
    }
    
    // doEdsCacheUpdate invokes XdsUpdater's EDSCacheUpdate to update endpoint shards.
    func (s *Controller) doEdsCacheUpdate(keys sets.Set[instancesKey]) {
    	endpoints := s.buildEndpoints(keys)
    	shard := model.ShardKeyFromRegistry(s)
    	// This is delete.
    	if len(endpoints) == 0 {
    		for k := range keys {
    			s.XdsUpdater.EDSCacheUpdate(shard, string(k.hostname), k.namespace, nil)
    		}
    	} else {
    		for k, eps := range endpoints {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  5. pilot/pkg/xds/endpoints/ep_filters_test.go

    			}
    			ep.Labels["app"] = "example"
    			ep.Locality.ClusterID = sk.Cluster
    			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)
  6. pilot/pkg/xds/endpoints/endpoint_builder.go

    	shards := b.findShards(endpointIndex)
    	if shards == nil {
    		return nil
    	}
    
    	// Determine whether or not the target service is considered local to the cluster
    	// and should, therefore, not be accessed from outside the cluster.
    	isClusterLocal := b.clusterLocal
    	var eps []*model.IstioEndpoint
    	shards.RLock()
    	defer shards.RUnlock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 02:18:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  7. internal/config/storageclass/storage-class.go

    	StandardEnv = "MINIO_STORAGE_CLASS_STANDARD"
    	// Optimize storage class environment variable
    	OptimizeEnv = "MINIO_STORAGE_CLASS_OPTIMIZE"
    	// Inline block indicates the size of the shard
    	// that is considered for inlining, remember this
    	// shard value is the value per drive shard it
    	// will vary based on the parity that is configured
    	// for the STANDARD storage_class.
    	// inlining means data and metadata are written
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. pkg/controller/resourcequota/resource_quota_controller.go

    func (rq *Controller) syncResourceQuota(ctx context.Context, resourceQuota *v1.ResourceQuota) (err error) {
    	// quota is dirty if any part of spec hard limits differs from the status hard limits
    	statusLimitsDirty := !apiequality.Semantic.DeepEqual(resourceQuota.Spec.Hard, resourceQuota.Status.Hard)
    
    	// dirty tracks if the usage status differs from the previous sync,
    	// if so, we send a new usage with latest status
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  9. pkg/volume/git_repo/git_repo_test.go

    					dir: "",
    				},
    				{
    					cmd: []string{"git", "checkout", revision},
    					dir: "/target_dir",
    				},
    				{
    					cmd: []string{"git", "reset", "--hard"},
    					dir: "/target_dir",
    				},
    			},
    			isExpectedFailure: false,
    		},
    		{
    			name: "target-dir-no-revision",
    			vol: &v1.Volume{
    				Name: "vol1",
    				VolumeSource: v1.VolumeSource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 08:26:26 UTC 2024
    - 12K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/controller.go

    		c.opts.XDSUpdater.ConfigUpdate(&model.PushRequest{Full: true, Reason: model.NewReasonStats(model.NetworksTrigger)})
    	}
    
    	shard := model.ShardKeyFromRegistry(c)
    	event := model.EventDelete
    	c.opts.XDSUpdater.SvcUpdate(shard, string(svc.Hostname), svc.Attributes.Namespace, event)
    
    	c.handlers.NotifyServiceHandlers(nil, svc, event)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 41.2K bytes
    - Viewed (0)
Back to top