Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 887 for priority1 (0.16 sec)

  1. pkg/kubelet/eviction/helpers.go

    	// the last cmp func is the final decider
    	return ms.cmp[k](p1, p2) < 0
    }
    
    // priority compares pods by Priority, if priority is enabled.
    func priority(p1, p2 *v1.Pod) int {
    	priority1 := corev1helpers.PodPriority(p1)
    	priority2 := corev1helpers.PodPriority(p2)
    	if priority1 == priority2 {
    		return 0
    	}
    	if priority1 > priority2 {
    		return 1
    	}
    	return -1
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  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/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)
  9. 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)
  10. 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)
Back to top