- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for numPods (0.2 sec)
-
pkg/kubelet/pod_workers_test.go
podWorkers, _, processed := createPodWorkers() numPods := 20 for i := 0; i < numPods; i++ { for j := i; j < numPods; j++ { podWorkers.UpdatePod(UpdatePodOptions{ Pod: newNamedPod(strconv.Itoa(j), "ns", strconv.Itoa(i), false), UpdateType: kubetypes.SyncPodCreate, }) } } drainWorkers(podWorkers, numPods) if len(processed) != numPods { t.Fatalf("Not all pods processed: %v", len(processed))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 75.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go
if err != nil { t.Fatalf("Unexpected error: %v", err) } deletedPods := deleted.(*example.PodList) if len(deletedPods.Items) != numPods { t.Errorf("Unexpected number of pods deleted: %d, expected: %d", len(deletedPods.Items), numPods) } expectedCalls := (int64(numPods) + deleteCollectionPageSize - 1) / deleteCollectionPageSize if listCalls := atomic.LoadInt64(&storeWithCounter.listCounter); listCalls != expectedCalls {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 101.8K bytes - Viewed (0) -
pkg/scheduler/internal/queue/scheduling_queue.go
} } p.moveRequestCycle = p.schedulingCycle if p.isSchedulingQueueHintEnabled && len(p.inFlightPods) != 0 { logger.V(5).Info("Event received while pods are in flight", "event", event.Label, "numPods", len(p.inFlightPods)) // AddUnschedulableIfNotPresent might get called for in-flight Pods later, and in // AddUnschedulableIfNotPresent we need to know whether events were // observed while scheduling them.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 61.4K bytes - Viewed (0) -
pkg/scheduler/schedule_one.go
if percentage < minFeasibleNodesPercentageToFind { percentage = minFeasibleNodesPercentageToFind } } numNodes = numAllNodes * percentage / 100 if numNodes < minFeasibleNodesToFind { return minFeasibleNodesToFind } return numNodes }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 13:28:08 UTC 2024 - 43.4K bytes - Viewed (0) -
pkg/scheduler/framework/types.go
type ImageStateSummary struct { // Size of the image Size int64 // Used to track how many nodes have this image, it is computed from the Nodes field below // during the execution of Snapshot. NumNodes int // A set of node names for nodes having this image present. This field is used for // keeping track of the nodes during update/add/remove events. Nodes sets.Set[string] }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 19:28:17 UTC 2024 - 36.7K bytes - Viewed (0) -
src/net/http/transport_test.go
func TestIssue3644(t *testing.T) { run(t, testIssue3644) } func testIssue3644(t *testing.T, mode testMode) { const numFoos = 5000 ts := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) { w.Header().Set("Connection", "close") for i := 0; i < numFoos; i++ { w.Write([]byte("foo ")) } })).ts c := ts.Client() res, err := c.Get(ts.URL) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 192.6K bytes - Viewed (0) -
pkg/generated/openapi/zz_generated.openapi.go
Description: "MinCandidateNodesAbsolute is the absolute minimum number of candidates to shortlist. The likely number of candidates enumerated for dry running preemption is given by the formula: numCandidates = max(numNodes * minCandidateNodesPercentage, minCandidateNodesAbsolute) We say \"likely\" because there are other factors such as PDB violations that play a role in the number of candidates shortlisted. Must be at least 0 nodes. Defaults to 100 nodes if unspecified.",...
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 18:37:07 UTC 2024 - 3M bytes - Viewed (0)