Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 887 for priority1 (0.18 sec)

  1. src/container/heap/example_pq_test.go

    	}
    
    	// Create a priority queue, put the items in it, and
    	// establish the priority queue (heap) invariants.
    	pq := make(PriorityQueue, len(items))
    	i := 0
    	for value, priority := range items {
    		pq[i] = &Item{
    			value:    value,
    			priority: priority,
    			index:    i,
    		}
    		i++
    	}
    	heap.Init(&pq)
    
    	// Insert a new item and then modify its priority.
    	item := &Item{
    		value:    "orange",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 20:27:36 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. plugin/pkg/admission/priority/admission.go

    		}
    		// if the pod contained a priority that differs from the one computed from the priority class, error
    		if pod.Spec.Priority != nil && *pod.Spec.Priority != priority {
    			return admission.NewForbidden(a, fmt.Errorf("the integer value of priority (%d) must not be provided in pod spec; priority admission controller computed %d from the given PriorityClass name", *pod.Spec.Priority, priority))
    		}
    		pod.Spec.Priority = &priority
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 08 10:11:23 UTC 2022
    - 9K bytes
    - Viewed (0)
  3. pkg/apis/scheduling/types.go

    )
    
    const (
    	// DefaultPriorityWhenNoDefaultClassExists is used to set priority of pods
    	// that do not specify any priority class and there is no priority class
    	// marked as default.
    	DefaultPriorityWhenNoDefaultClassExists = 0
    	// HighestUserDefinablePriority is the highest priority for user defined priority classes. Priority values larger than 1 billion are reserved for Kubernetes system use.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 07 23:13:00 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. pilot/pkg/model/push_context.go

    				}
    			}
    		}
    	}
    
    	// sort slices by priority
    	for i, slice := range matchedPlugins {
    		sort.SliceStable(slice, func(i, j int) bool {
    			iPriority := int32(math.MinInt32)
    			if prio := slice[i].Priority; prio != nil {
    				iPriority = prio.Value
    			}
    			jPriority := int32(math.MinInt32)
    			if prio := slice[j].Priority; prio != nil {
    				jPriority = prio.Value
    			}
    			return iPriority > jPriority
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/scheduling/v1/types_swagger_doc_generated.go

    	"":                 "PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.",
    	"metadata":         "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 22 00:51:25 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/scheduling/v1alpha1/generated.proto

      // value represents the integer value of this priority class. This is the actual priority that pods
      // receive when they have the name of this class in their pod spec.
      optional int32 value = 2;
    
      // globalDefault specifies whether this PriorityClass should be considered as
      // the default priority for pods that do not have any priority class.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/scheduling/v1alpha1/types_swagger_doc_generated.go

    	"metadata":         "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 22 00:51:25 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

    			testPods: []*v1.Pod{
    				st.MakePod().Name("p").UID("p").Priority(highPriority).Req(largeRes).Obj(),
    			},
    			initPods: []*v1.Pod{
    				st.MakePod().Name("p1.1").UID("p1.1").Node("node1").Priority(midPriority).Req(smallRes).Obj(),
    				st.MakePod().Name("p1.2").UID("p1.2").Node("node1").Priority(lowPriority).Req(smallRes).Obj(),
    				st.MakePod().Name("p1.3").UID("p1.3").Node("node1").Priority(midPriority).Req(mediumRes).Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/flowcontrol/v1/types_swagger_doc_generated.go

    this level. This is the number of execution seats nominally reserved for this priority level. This DOES NOT limit the dispatching from this priority level but affects the other priority levels through the borrowing mechanism. The server's concurrency limit (ServerCL) is divided among all the priority levels in proportion to their NCS values:\n\nNominalCL(i)  = ceil( ServerCL * NCS(i) / sum_ncs ) sum_ncs = sum[priority level k] NCS(k)\n\nBigger numbers mean a larger nominal concurrency limit, at the...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 21.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/flowcontrol/v1beta3/types_swagger_doc_generated.go

    this level. This is the number of execution seats nominally reserved for this priority level. This DOES NOT limit the dispatching from this priority level but affects the other priority levels through the borrowing mechanism. The server's concurrency limit (ServerCL) is divided among all the priority levels in proportion to their NCS values:\n\nNominalCL(i)  = ceil( ServerCL * NCS(i) / sum_ncs ) sum_ncs = sum[priority level k] NCS(k)\n\nBigger numbers mean a larger nominal concurrency limit, at the...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 01:00:06 UTC 2023
    - 21.5K bytes
    - Viewed (0)
Back to top