Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for StateKey (0.09 sec)

  1. pkg/scheduler/framework/plugins/volumebinding/volume_binding.go

    	"k8s.io/kubernetes/pkg/scheduler/framework/plugins/feature"
    	"k8s.io/kubernetes/pkg/scheduler/framework/plugins/helper"
    	"k8s.io/kubernetes/pkg/scheduler/framework/plugins/names"
    )
    
    const (
    	stateKey framework.StateKey = Name
    
    	maxUtilization = 100
    )
    
    // the state is initialized in PreFilter phase. because we save the pointer in
    // framework.CycleState, in the later phases we don't need to call Write method
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:13:06 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/volumezone/volume_zone.go

    var _ framework.EnqueueExtensions = &VolumeZone{}
    
    const (
    	// Name is the name of the plugin used in the plugin registry and configurations.
    	Name = names.VolumeZone
    
    	preFilterStateKey framework.StateKey = "PreFilter" + Name
    
    	// ErrReasonConflict is used for NoVolumeZoneConflict predicate error.
    	ErrReasonConflict = "node(s) had no available volume zone"
    )
    
    // pvTopology holds the value of a pv's topologyLabel
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:13:06 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go

    	"k8s.io/kubernetes/pkg/scheduler/util/assumecache"
    	"k8s.io/utils/ptr"
    )
    
    const (
    	// Name is the name of the plugin used in Registry and configurations.
    	Name = names.DynamicResources
    
    	stateKey framework.StateKey = Name
    
    	// generatedFromIndex is the lookup name for the index function
    	// which indexes by other resource which generated the parameters object.
    	generatedFromIndex = "generated-from-index"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:22:37 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/interface.go

    // activated (i.e., moved to activeQ) in two phases:
    // - end of a scheduling cycle if it succeeds (will be cleared from `PodsToActivate` if activated)
    // - end of a binding cycle if it succeeds
    var PodsToActivateKey StateKey = "kubernetes.io/pods-to-activate"
    
    // PodsToActivate stores pods to be activated.
    type PodsToActivate struct {
    	sync.Mutex
    	// Map is keyed with namespaced pod name, and valued with the pod.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 35.4K bytes
    - Viewed (0)
Back to top