Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for pendingPod (0.14 sec)

  1. pkg/controller/volume/persistentvolume/recycle_test.go

    							ClaimName: "runningClaim",
    						},
    					},
    				},
    			},
    		},
    		Status: v1.PodStatus{
    			Phase: v1.PodRunning,
    		},
    	}
    
    	pendingPod := runningPod.DeepCopy()
    	pendingPod.Name = "pendingPod"
    	pendingPod.Status.Phase = v1.PodPending
    	pendingPod.Spec.Volumes[0].PersistentVolumeClaim.ClaimName = "pendingClaim"
    
    	completedPod := runningPod.DeepCopy()
    	completedPod.Name = "completedPod"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/interpodaffinity/filtering_test.go

    							Values:   []string{"bar", "security", "test"},
    						},
    					},
    				},
    				TopologyKey: "zone",
    			},
    		},
    	}
    
    	tests := []struct {
    		name                 string
    		pendingPod           *v1.Pod
    		addedPod             *v1.Pod
    		existingPods         []*v1.Pod
    		nodes                []*v1.Node
    		expectedAntiAffinity topologyToMatchedTermCount
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 01 10:24:54 UTC 2023
    - 58.2K bytes
    - Viewed (0)
  3. pkg/scheduler/internal/cache/debugger/dumper.go

    }
    
    // dumpSchedulingQueue writes pods in the scheduling queue to the scheduler logs.
    func (d *CacheDumper) dumpSchedulingQueue(logger klog.Logger) {
    	pendingPods, s := d.podQueue.PendingPods()
    	var podData strings.Builder
    	for _, p := range pendingPods {
    		podData.WriteString(printPod(p))
    	}
    	logger.Info("Dump of scheduling queue", "summary", s, "pods", podData.String())
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 29 05:26:32 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. pkg/scheduler/internal/cache/debugger/comparer.go

    	if err != nil {
    		return err
    	}
    
    	dump := c.Cache.Dump()
    
    	pendingPods, _ := c.PodQueue.PendingPods()
    
    	if missed, redundant := c.CompareNodes(nodes, dump.Nodes); len(missed)+len(redundant) != 0 {
    		logger.Info("Cache mismatch", "missedNodes", missed, "redundantNodes", redundant)
    	}
    
    	if missed, redundant := c.ComparePods(pods, pendingPods, dump.Nodes); len(missed)+len(redundant) != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 29 05:26:32 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  5. pkg/scheduler/metrics/metrics.go

    }
    
    // ActivePods returns the pending pods metrics with the label active
    func ActivePods() metrics.GaugeMetric {
    	return pendingPods.With(metrics.Labels{"queue": "active"})
    }
    
    // BackoffPods returns the pending pods metrics with the label backoff
    func BackoffPods() metrics.GaugeMetric {
    	return pendingPods.With(metrics.Labels{"queue": "backoff"})
    }
    
    // UnschedulablePods returns the pending pods metrics with the label unschedulable
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 08:22:53 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelGraph.java

                iPendingNodes.remove();
                ModelNodeInternal pendingNode = entry.getKey();
                switch (entry.getValue()) {
                    case ADD:
                        doAdd(pendingNode);
                        break;
                    case NOTIFY:
                        doNotify(pendingNode);
                        break;
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  7. pkg/proxy/endpointslicecache.go

    		appliedData, appliedOk := cache.trackerByServiceMap[serviceKey].applied[sliceKey]
    		pendingData, pendingOk := cache.trackerByServiceMap[serviceKey].pending[sliceKey]
    
    		// If there's already a pending value, return whether or not this would
    		// change that.
    		if pendingOk {
    			return !reflect.DeepEqual(esData, pendingData)
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:07:21 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. pkg/scheduler/internal/queue/scheduling_queue.go

    var pendingPodsSummary = "activeQ:%v; backoffQ:%v; unschedulablePods:%v"
    
    // PendingPods returns all the pending pods in the queue; accompanied by a debugging string
    // recording showing the number of pods in each queue respectively.
    // This function is used for debugging purposes in the scheduler cache dumper and comparer.
    func (p *PriorityQueue) PendingPods() ([]*v1.Pod, string) {
    	p.lock.RLock()
    	defer p.lock.RUnlock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  9. pkg/controller/job/job_controller_test.go

    		pods = append(pods, newPod)
    	}
    	return pods
    }
    
    func setPodsStatuses(podIndexer cache.Indexer, job *batch.Job, pendingPods, activePods, succeededPods, failedPods, terminatingPods, readyPods int) {
    	for _, pod := range newPodList(pendingPods, v1.PodPending, job) {
    		podIndexer.Add(pod)
    	}
    	running := newPodList(activePods, v1.PodRunning, job)
    	for i, p := range running {
    		if i >= readyPods {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  10. pkg/scheduler/scheduler_test.go

    // the specific pod from the given priority queue. It returns the found pod in the priority queue.
    func getPodFromPriorityQueue(queue *internalqueue.PriorityQueue, pod *v1.Pod) *v1.Pod {
    	podList, _ := queue.PendingPods()
    	if len(podList) == 0 {
    		return nil
    	}
    
    	queryPodKey, err := cache.MetaNamespaceKeyFunc(pod)
    	if err != nil {
    		return nil
    	}
    
    	for _, foundPod := range podList {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 42K bytes
    - Viewed (0)
Back to top