Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 400 for priorityOk (0.47 sec)

  1. src/net/lookup_plan9.go

    		f := getFields(line)
    		if len(f) < 6 {
    			continue
    		}
    		port, _, portOk := dtoi(f[4])
    		priority, _, priorityOk := dtoi(f[3])
    		weight, _, weightOk := dtoi(f[2])
    		if !(portOk && priorityOk && weightOk) {
    			continue
    		}
    		addrs = append(addrs, &SRV{absDomainName(f[5]), uint16(port), uint16(priority), uint16(weight)})
    		cname = absDomainName(f[0])
    	}
    	byPriorityWeight(addrs).sort()
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:08:38 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness.go

    		return
    	}
    
    	// We intentionally set the UID of the flow-schema and priority-level instead of name. This is so that
    	// the names that cluster-admins choose for categorization and priority levels are not exposed, also
    	// the names might make it obvious to the users that they are rejected due to classification with low priority.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/cel/value_test.go

    	name.Ref = testValue(t, 2, "alert")
    	priority := NewField(3, "priority")
    	priority.Ref = testValue(t, 4, int64(4))
    	mv.AddField(name)
    	mv.AddField(priority)
    
    	mv2 := NewMapValue()
    	mv2.AddField(name)
    	if mv.Equal(mv2) != types.False {
    		t.Fatalf("mv.Equal(mv2) failed: %v", mv.Equal(mv2))
    	}
    
    	priority2 := NewField(5, "priority")
    	priority2.Ref = testValue(t, 6, int64(3))
    	mv2.AddField(priority2)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 10.4K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/loadbalancer/loadbalancer.go

    	// 1. calculate the LocalityLbEndpoints.Priority compared with proxy locality
    	for i, localityEndpoint := range loadAssignment.Endpoints {
    		// if region/zone/subZone all match, the priority is 0.
    		// if region/zone match, the priority is 1.
    		// if region matches, the priority is 2.
    		// if locality not match, the priority is 3.
    		priority := util.LbPriority(locality, localityEndpoint.Locality)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 05:38:57 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. plugin/pkg/admission/priority/admission_test.go

    				Namespace: "non-system-namespace",
    			},
    			Spec: api.PodSpec{
    				Containers: []api.Container{
    					{
    						Name: containerName,
    					},
    				},
    				Priority: &zeroPriority,
    			},
    		},
    		// pod[9]: Pod with a priority value that matches the resolved default priority
    		{
    			ObjectMeta: metav1.ObjectMeta{
    				Name:      "pod-w-priority-matching-default-priority",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 03 18:43:48 UTC 2022
    - 21.2K bytes
    - Viewed (0)
  6. pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux.go

    		})
    	}
    
    	for _, pod := range pods {
    		var priority int32
    		if pod.Spec.Priority != nil {
    			priority = *pod.Spec.Priority
    		}
    
    		// Find the group index according to the priority.
    		index := sort.Search(len(groups), func(i int) bool {
    			return groups[i].Priority >= priority
    		})
    
    		// 1. Those higher than the highest priority default to the highest priority
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 08:02:40 UTC 2022
    - 15.5K bytes
    - Viewed (0)
  7. pkg/scheduler/metrics/resources/resources_test.go

    				kube_pod_resource_request{namespace="test",node="",pod="foo-unscheduled-succeeded",priority="",resource="cpu",scheduler="",unit="cores"} 1
    				kube_pod_resource_request{namespace="test",node="node-one",pod="foo-pending",priority="",resource="cpu",scheduler="",unit="cores"} 1
    				kube_pod_resource_request{namespace="test",node="node-one",pod="foo-unknown",priority="",resource="cpu",scheduler="",unit="cores"} 1
    				`,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 13 07:42:19 UTC 2023
    - 21.6K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. staging/src/k8s.io/apiserver/pkg/apis/flowcontrol/bootstrap/default.go

    		SuggestedFlowSchemaSystemNodeHigh,            // references "node-high" priority-level
    		SuggestedFlowSchemaProbes,                    // references "exempt" priority-level
    		SuggestedFlowSchemaSystemLeaderElection,      // references "leader-election" priority-level
    		SuggestedFlowSchemaWorkloadLeaderElection,    // references "leader-election" priority-level
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 20.5K bytes
    - Viewed (0)
Back to top