Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for scorer (0.19 sec)

  1. pkg/scheduler/framework/plugins/podtopologyspread/scoring_test.go

    				&v1.Service{Spec: v1.ServiceSpec{Selector: map[string]string{"foo": ""}}},
    			},
    			want: []framework.NodeScore{
    				// Same scores as if we were using one spreading constraint.
    				{Name: "node-a", Score: 44},
    				{Name: "node-b", Score: 66},
    				{Name: "node-c", Score: 77},
    				{Name: "node-d", Score: 100},
    			},
    		},
    		{
    			// matching pods spread as 4/2/1/~3~ (node4 is not a candidate)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 60K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/runtime/framework.go

    			Name:   nodes[index].Node().Name,
    			Scores: make([]framework.PluginScore, len(plugins)),
    		}
    
    		for i, pl := range plugins {
    			weight := f.scorePluginWeight[pl.Name()]
    			nodeScoreList := pluginToNodeScores[pl.Name()]
    			score := nodeScoreList[index].Score
    
    			if score > framework.MaxNodeScore || score < framework.MinNodeScore {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    					}
    				}
    				score, status := p.(framework.ScorePlugin).Score(ctx, state, test.requestedPod, n.Name)
    				if !status.IsSuccess() {
    					t.Errorf("Score is expected to return success, but didn't. Got status: %v", status)
    				}
    				gotPriorities = append(gotPriorities, framework.NodeScore{Name: n.Name, Score: score})
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 57.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store.go

    	DestroyFunc func()
    }
    
    // Note: the rest.StandardStorage interface aggregates the common REST verbs
    var _ rest.StandardStorage = &Store{}
    var _ rest.TableConvertor = &Store{}
    var _ GenericStore = &Store{}
    
    var _ rest.SingularNameProvider = &Store{}
    
    const (
    	OptimisticLockErrorMsg        = "the object has been modified; please apply your changes to the latest version and try again"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 23:22:44 UTC 2024
    - 60.8K bytes
    - Viewed (0)
  5. cmd/iam-store.go

    }
    
    // HasWatcher - returns if the storage system has a watcher.
    func (store *IAMStoreSys) HasWatcher() bool {
    	_, ok := store.IAMStorageAPI.(iamStorageWatcher)
    	return ok
    }
    
    // GetUser - fetches credential from memory.
    func (store *IAMStoreSys) GetUser(user string) (UserIdentity, bool) {
    	cache := store.rlock()
    	defer store.runlock()
    
    	u, ok := cache.iamUsersMap[user]
    	if !ok {
    		// Check the sts map
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/endpoints/installer.go

    		}
    		scoper, ok := parentStorage.(rest.Scoper)
    		if !ok {
    			return nil, nil, fmt.Errorf("%q must implement scoper", resource)
    		}
    		namespaceScoped = scoper.NamespaceScoped()
    
    	} else {
    		scoper, ok := storage.(rest.Scoper)
    		if !ok {
    			return nil, nil, fmt.Errorf("%q must implement scoper", resource)
    		}
    		namespaceScoped = scoper.NamespaceScoped()
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.PodTemplate.json

    SataQiu <******@****.***> 1713430345 +0800
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 50K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/HEAD/core.v1.ReplicationController.json

    Shingo Omura <******@****.***> 1717022429 +0900
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/HEAD/core.v1.PodTemplate.json

    Shingo Omura <******@****.***> 1717022429 +0900
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.Pod.json

    SataQiu <******@****.***> 1702613527 +0800
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 50.7K bytes
    - Viewed (0)
Back to top