Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 90 for Prioritize (0.13 sec)

  1. pkg/scheduler/testing/framework/fake_extender.go

    }
    
    // Prioritize implements the extender Prioritize function.
    func (f *FakeExtender) Prioritize(pod *v1.Pod, nodes []*framework.NodeInfo) (*extenderv1.HostPriorityList, int64, error) {
    	result := extenderv1.HostPriorityList{}
    	combinedScores := map[string]int64{}
    	for _, prioritizer := range f.Prioritizers {
    		weight := prioritizer.Weight
    		if weight == 0 {
    			continue
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/extender.go

    	// Prioritize based on extender-implemented priority functions. The returned scores & weight
    	// are used to compute the weighted score for an extender. The weighted scores are added to
    	// the scores computed by Kubernetes scheduler. The total scores are used to do the host selection.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. platforms/software/platform-base/src/main/java/org/gradle/language/base/internal/model/BinarySourceTransformations.java

        }
    
        private Iterable<LanguageTransform<?, ?>> prioritize(LanguageTransformContainer languageTransforms) {
            List<LanguageTransform<?, ?>> prioritized = Lists.newArrayList(languageTransforms);
            Collections.sort(prioritized, new Comparator<LanguageTransform<?, ?>>() {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  4. releasenotes/notes/multicluster-leader-election.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: traffic-management
    issue:
    - 47901
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Nov 17 17:09:18 UTC 2023
    - 189 bytes
    - Viewed (0)
  5. pkg/util/filesystem/watcher.go

    		// in case the file changed concurrent with calling WatchUntil.
    		eventHandler()
    	}
    
    	for {
    		select {
    		case <-ctx.Done():
    			return
    
    		case <-t.C:
    			// Prioritize exiting if context is canceled
    			if ctx.Err() != nil {
    				return
    			}
    
    			// Try to re-establish the watcher if we previously got a watch error
    			if attemptPeriodicRewatch {
    				_ = watcher.Remove(path)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 14 23:09:15 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. pkg/scheduler/apis/config/types.go

    	PreemptVerb string
    	// Verb for the prioritize call, empty if not supported. This verb is appended to the URLPrefix when issuing the prioritize call to extender.
    	PrioritizeVerb string
    	// The numeric multiplier for the node scores that the prioritize call generates.
    	// The weight should be a positive integer
    	Weight int64
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 18:47:23 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  7. pkg/kubelet/eviction/helpers.go

    		if !p1Found || !p2Found {
    			// prioritize evicting the pod for which no stats were found
    			return cmpBool(!p1Found, !p2Found)
    		}
    
    		p1Process := processUsage(p1Stats.ProcessStats)
    		p2Process := processUsage(p2Stats.ProcessStats)
    		// prioritize evicting the pod which has the larger consumption of process
    		return int(p2Process - p1Process)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/cli/TaskOptionsSpec.groovy

                                logger.lifecycle(getName() + "profile=" + getProfile().get())
                            }
                        }
                    }
                    """
        }
    
        def "will prioritize built-in option over a task option with a conflicting name"() {
            when:
            buildScript """
                ${defineTaskWithProfileOption()}
    
                tasks.register('mytask', MyTask.class)
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  9. maven-di/src/main/java/org/apache/maven/di/impl/Binding.java

        }
    
        // endregion
    
        public Binding<T> scope(Annotation scope) {
            this.scope = scope;
            return this;
        }
    
        public Binding<T> prioritize(int priority) {
            this.priority = priority;
            return this;
        }
    
        public Binding<T> withKey(Key<?> key) {
            this.originalKey = key;
            return this;
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. pkg/scheduler/extender.go

    }
    
    // Prioritize based on extender implemented priority functions. Weight*priority is added
    // up for each such priority function. The returned score is added to the score computed
    // by Kubernetes scheduler. The total score is used to do the host selection.
    func (h *HTTPExtender) Prioritize(pod *v1.Pod, nodes []*framework.NodeInfo) (*extenderv1.HostPriorityList, int64, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top