Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 193 for mypods (0.09 sec)

  1. pkg/scheduler/metrics/metrics.go

    			Name:           "pending_pods",
    			Help:           "Number of pending pods, by the queue type. 'active' means number of pods in activeQ; 'backoff' means number of pods in backoffQ; 'unschedulable' means number of pods in unschedulablePods that the scheduler attempted to schedule and failed; 'gated' is the number of unschedulable pods that the scheduler never attempted to schedule because they are gated.",
    			StabilityLevel: metrics.STABLE,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 08:22:53 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. pkg/scheduler/internal/queue/scheduling_queue_test.go

    	}{
    		{
    			name:      "create, update, delete subset of pods",
    			podsToAdd: []*v1.Pod{pods[0], pods[1], pods[2], pods[3]},
    			expectedMapAfterAdd: map[string]*framework.QueuedPodInfo{
    				util.GetPodFullName(pods[0]): {PodInfo: mustNewTestPodInfo(t, pods[0]), UnschedulablePlugins: sets.New[string]()},
    				util.GetPodFullName(pods[1]): {PodInfo: mustNewTestPodInfo(t, pods[1]), UnschedulablePlugins: sets.New[string]()},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  3. pkg/controller/garbagecollector/garbagecollector_test.go

    			"GET" + "/api/v1/namespaces/ns1/pods/rc1Pod1": {
    				200,
    				serilizeOrDie(t, rc1Pod1),
    			},
    			"GET" + "/api/v1/namespaces/ns1/pods/rc1Pod2": {
    				200,
    				serilizeOrDie(t, rc1Pod2),
    			},
    			"GET" + "/api/v1/namespaces/ns1/pods/rc2Pod1": {
    				200,
    				serilizeOrDie(t, rc2Pod1),
    			},
    			"GET" + "/api/v1/namespaces/ns1/pods/rc3Pod1": {
    				200,
    				serilizeOrDie(t, rc3Pod1),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  4. cni/pkg/util/podutil.go

    func AnnotateEnrolledPod(client kubernetes.Interface, pod *metav1.ObjectMeta) error {
    	_, err := client.CoreV1().
    		Pods(pod.Namespace).
    		Patch(
    			context.Background(),
    			pod.Name,
    			types.MergePatchType,
    			annotationPatch,
    			metav1.PatchOptions{},
    			// Both "pods" and "pods/status" can mutate the metadata. However, pods/status is lower privilege, so we use that instead.
    			"status",
    		)
    	return err
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 17:18:11 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modload/import.go

    			// shortest to longest. Reverse them now.
    			for i := 0; i < len(mods)/2; i++ {
    				j := len(mods) - 1 - i
    				mods[i], mods[j] = mods[j], mods[i]
    				roots[i], roots[j] = roots[j], roots[i]
    				dirs[i], dirs[j] = dirs[j], dirs[i]
    			}
    			return module.Version{}, "", "", nil, &AmbiguousImportError{importPath: path, Dirs: dirs, Modules: mods}
    		}
    
    		if len(sumErrMods) > 0 {
    			for i := 0; i < len(sumErrMods)/2; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:21:14 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  6. manifests/charts/istio-cni/templates/resourcequota.yaml

    {{- if .Values.cni.resourceQuotas.enabled }}
    apiVersion: v1
    kind: ResourceQuota
    metadata:
      name: {{ template "name" . }}-resource-quota
      namespace: {{ .Release.Namespace }}
    spec:
      hard:
        pods: {{ .Values.cni.resourceQuotas.pods | quote }}
      scopeSelector:
        matchExpressions:
        - operator: In
          scopeName: PriorityClass
          values:
          - system-node-critical
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:29 UTC 2024
    - 388 bytes
    - Viewed (0)
  7. pkg/quota/v1/evaluator/core/pods_test.go

    	}{
    		{
    			name: "nil case",
    		},
    		{
    			name: "all pods in running state",
    			objs: []runtime.Object{
    				makePod("p1", "", cpu1, api.PodRunning),
    				makePod("p2", "", cpu1, api.PodRunning),
    			},
    			want: corev1.ResourceList{
    				corev1.ResourcePods:               resource.MustParse("2"),
    				corev1.ResourceName("count/pods"): resource.MustParse("2"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  8. pkg/controller/replicaset/replica_set.go

    		return nil
    	}
    
    	// list all pods to include the pods that don't match the rs`s selector
    	// anymore but has the stale controller ref.
    	// TODO: Do the List and Filter in a single pass, or use an index.
    	allPods, err := rsc.podLister.Pods(rs.Namespace).List(labels.Everything())
    	if err != nil {
    		return err
    	}
    	// Ignore inactive pods.
    	filteredPods := controller.FilterActivePods(logger, allPods)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  9. pkg/controller/statefulset/stateful_set.go

    	// List all pods to include the pods that don't match the selector anymore but
    	// has a ControllerRef pointing to this StatefulSet.
    	pods, err := ssc.podLister.Pods(set.Namespace).List(labels.Everything())
    	if err != nil {
    		return nil, err
    	}
    
    	filter := func(pod *v1.Pod) bool {
    		// Only claim if it matches our StatefulSet name. Otherwise release/ignore.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  10. pkg/controller/job/backoff_utils.go

    				backoff.lastFailureTime = &failedTime
    			}
    			backoff.failuresAfterLastSuccess += 1
    		}
    
    		return *backoff
    
    	}
    
    }
    
    func sortByFinishedTime(pods []*v1.Pod) {
    	sort.Slice(pods, func(i, j int) bool {
    		p1 := pods[i]
    		p2 := pods[j]
    		p1FinishTime := getFinishedTime(p1)
    		p2FinishTime := getFinishedTime(p2)
    
    		return p1FinishTime.Before(p2FinishTime)
    	})
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 07:46:41 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top