Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 889 for iPriority (0.15 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/handler.go

    		iName := groups[i].Name
    		jName := groups[j].Name
    
    		// Default to 0 priority by default
    		iPriority := priorities[iName]
    		jPriority := priorities[jName]
    
    		// Sort discovery based on apiservice priority.
    		// Duplicated from staging/src/k8s.io/kube-aggregator/pkg/apis/apiregistration/v1/helpers.go
    		if iPriority == jPriority {
    			// Equal priority uses name to break ties
    			return iName < jName
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 00:29:39 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  2. 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)
  3. pkg/test/loadbalancersim/loadbalancer/priority.go

    func LocalityPrioritySelector(src *mesh2.Client, dest *mesh2.Node) uint32 {
    	priority := uint32(2)
    	if src.Locality().Region == dest.Locality().Region {
    		priority = 1
    		if src.Locality().Zone == dest.Locality().Zone {
    			priority = 0
    		}
    	}
    	return priority
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 27 20:55:37 UTC 2022
    - 1017 bytes
    - Viewed (0)
  4. api/maven-api-di/src/main/java/org/apache/maven/api/di/Priority.java

    import static java.lang.annotation.ElementType.TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    @Target({TYPE, METHOD})
    @Retention(RUNTIME)
    @Documented
    public @interface Priority {
        int value();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 05 09:45:47 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/api/meta/priority.go

    	// ResourcePriority is a list of priority patterns to apply to matching resources.
    	// The list of all matching resources is narrowed based on the patterns until only one remains.
    	// A pattern with no matches is skipped.  A pattern with more than one match uses its
    	// matches as the list to continue matching against.
    	ResourcePriority []schema.GroupVersionResource
    
    	// KindPriority is a list of priority patterns to apply to matching kinds.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 05 23:44:02 UTC 2021
    - 7.6K bytes
    - Viewed (0)
  6. releasenotes/notes/failover-priority-lb.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: traffic-management
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 25 06:49:06 UTC 2021
    - 258 bytes
    - Viewed (0)
  7. 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)
  8. staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness_test.go

    	go func() {
    		controllerErr = controller.Run(stopCh)
    		controllerCompletedCh <- controllerErr
    	}()
    
    	// make sure that apf controller syncs the priority level configuration object we are using in this test.
    	// read the metrics and ensure the concurrency limit for our priority level is set to the expected value.
    	pollErr := wait.PollImmediate(100*time.Millisecond, 5*time.Second, func() (done bool, err error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top