- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for numPods (0.13 sec)
-
pkg/controller/podgc/gc_controller.go
} } deleteCount := len(terminatingPods) if deleteCount == 0 { return } logger.V(4).Info("Garbage collecting pods that are terminating on node tainted with node.kubernetes.io/out-of-service", "numPods", deleteCount) // sort only when necessary sort.Sort(byEvictionAndCreationTimestamp(terminatingPods)) var wait sync.WaitGroup for i := 0; i < deleteCount; i++ { wait.Add(1) go func(pod *v1.Pod) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 13.3K bytes - Viewed (0) -
pkg/controller/deployment/deployment_controller.go
if err != nil { return } podMap, err := dc.getPodMapForDeployment(d, rsList) if err != nil { return } numPods := 0 for _, podList := range podMap { numPods += len(podList) } if numPods == 0 { dc.enqueueDeployment(d) } } } func (dc *DeploymentController) enqueue(deployment *apps.Deployment) { key, err := controller.KeyFunc(deployment)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 24.2K bytes - Viewed (0) -
pkg/controller/controller_utils_test.go
"oldest", }, }, } for _, test := range tests { t.Run(test.name, func(t *testing.T) { numPods := len(test.pods) for i := 0; i < 20; i++ { idx := rand.Perm(numPods) randomizedPods := make([]*v1.Pod, numPods) for j := 0; j < numPods; j++ { randomizedPods[j] = &test.pods[idx[j]] } sort.Sort(ActivePods(randomizedPods))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 39.4K bytes - Viewed (0) -
src/math/big/nat.go
zz = zz.montgomery(z, z, m, k0, numWords) z = z.montgomery(zz, zz, m, k0, numWords) zz = zz.montgomery(z, z, m, k0, numWords) z = z.montgomery(zz, zz, m, k0, numWords) } zz = zz.montgomery(z, powers[yi>>(_W-n)], m, k0, numWords) z, zz = zz, z yi <<= n } } // convert to regular number zz = zz.montgomery(z, one, m, k0, numWords) // One last reduction, just in case.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:31:58 UTC 2024 - 31.7K 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/controller/volume/attachdetach/attach_detach_controller_test.go
pod.Spec.Volumes[0].Name, pod.Spec.NodeName) } } } func largeClusterClient(t testing.TB, numNodes int) *fake.Clientset { // Arrange fakeKubeClient := fake.NewSimpleClientset() // populate numNodes nodes, each with 100 volumes for i := 0; i < numNodes; i++ { nodeName := fmt.Sprintf("node-%d", i) node := &v1.Node{ ObjectMeta: metav1.ObjectMeta{ Name: nodeName,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 11:00:37 UTC 2024 - 24.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc
// TPUCompilationResultsOp. return op->getAttrOfType<StringAttr>(kTpuCompilationStatus); } int64_t GetNumOps(func::FuncOp func) { int64_t num_ops = 0; for (auto it = func.begin(); it != func.end(); ++it) ++num_ops; return num_ops; } void GatherOpsForExtraction(mlir::SetVector<Operation*>* operations, const mlir::SetVector<Operation*>& ops_to_avoid,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 39.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)