Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for pendingPod (3.08 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/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)
  3. 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 (1)
  4. 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