Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 34 of 34 for activePods (2.46 sec)

  1. istioctl/pkg/kubeinject/kubeinject.go

    	options := metav1.ListOptions{LabelSelector: selector}
    
    	sortBy := func(pods []*corev1.Pod) sort.Interface { return sort.Reverse(podutils.ActivePods(pods)) }
    	podList, err := client.Pods(namespace).List(context.TODO(), options)
    	if err != nil {
    		return nil, err
    	}
    	pods := make([]*corev1.Pod, 0, len(podList.Items))
    	for i := range podList.Items {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 29 02:29:02 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  2. pkg/controller/controller_utils_test.go

    			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))
    				gotOrder := make([]string, len(randomizedPods))
    				for i := range randomizedPods {
    					gotOrder[i] = randomizedPods[i].Name
    				}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  3. pkg/scheduler/internal/queue/scheduling_queue_test.go

    `, // the observed value will always be 0, because we don't proceed the fake clock.
    		},
    	}
    
    	resetMetrics := func() {
    		metrics.ActivePods().Set(0)
    		metrics.BackoffPods().Set(0)
    		metrics.UnschedulablePods().Set(0)
    		metrics.GatedPods().Set(0)
    		metrics.PluginExecutionDuration.Reset()
    	}
    
    	for _, test := range tests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  4. pkg/kubelet/metrics/metrics.go

    	RunningPodsKey                     = "running_pods"
    	RunningContainersKey               = "running_containers"
    	DesiredPodCountKey                 = "desired_pods"
    	ActivePodCountKey                  = "active_pods"
    	MirrorPodCountKey                  = "mirror_pods"
    	WorkingPodCountKey                 = "working_pods"
    	OrphanedRuntimePodTotalKey         = "orphaned_runtime_pods_total"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 15:13:25 UTC 2024
    - 45.6K bytes
    - Viewed (0)
Back to top