Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for VolumeCapacityPriority (0.35 sec)

  1. pkg/scheduler/apis/config/validation/validation_pluginargs_test.go

    			}}),
    		},
    		{
    			name: "[VolumeCapacityPriority=off] shape should be nil when the feature is off",
    			features: map[featuregate.Feature]bool{
    				features.VolumeCapacityPriority: false,
    			},
    			args: config.VolumeBindingArgs{
    				BindTimeoutSeconds: 10,
    				Shape:              nil,
    			},
    		},
    		{
    			name: "[VolumeCapacityPriority=off] error if the shape is not nil when the feature is off",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  2. pkg/scheduler/apis/config/v1/defaults_test.go

    			},
    		},
    		{
    			name: "VolumeBindingArgs empty, VolumeCapacityPriority disabled",
    			features: map[featuregate.Feature]bool{
    				features.VolumeCapacityPriority: false,
    			},
    			in: &configv1.VolumeBindingArgs{},
    			want: &configv1.VolumeBindingArgs{
    				BindTimeoutSeconds: ptr.To[int64](600),
    			},
    		},
    		{
    			name: "VolumeBindingArgs empty, VolumeCapacityPriority enabled",
    			features: map[featuregate.Feature]bool{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 15:03:04 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/registry.go

    		EnableDynamicResourceAllocation:              feature.DefaultFeatureGate.Enabled(features.DynamicResourceAllocation),
    		EnableVolumeCapacityPriority:                 feature.DefaultFeatureGate.Enabled(features.VolumeCapacityPriority),
    		EnableNodeInclusionPolicyInPodTopologySpread: feature.DefaultFeatureGate.Enabled(features.NodeInclusionPolicyInPodTopologySpread),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. cmd/kube-scheduler/app/server_test.go

    			flags: []string{
    				"--kubeconfig", configKubeconfig,
    				"--feature-gates=VolumeCapacityPriority=true",
    			},
    			wantPlugins: map[string]*config.Plugins{
    				"default-scheduler": defaults.ExpandedPluginsV1,
    			},
    			restoreFeatures: map[featuregate.Feature]bool{
    				features.VolumeCapacityPriority: false,
    			},
    		},
    		{
    			name: "component configuration v1 with only scheduler name configured",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. pkg/scheduler/apis/config/validation/validation_pluginargs.go

    	return ValidateVolumeBindingArgsWithOptions(path, args, VolumeBindingArgsValidationOptions{
    		AllowVolumeCapacityPriority: utilfeature.DefaultFeatureGate.Enabled(features.VolumeCapacityPriority),
    	})
    }
    
    // ValidateVolumeBindingArgsWithOptions validates that VolumeBindingArgs and VolumeBindingArgsValidationOptions with scheduler features.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 05 09:29:49 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  6. pkg/scheduler/apis/config/v1/defaults.go

    	if obj.BindTimeoutSeconds == nil {
    		obj.BindTimeoutSeconds = ptr.To[int64](600)
    	}
    	if len(obj.Shape) == 0 && feature.DefaultFeatureGate.Enabled(features.VolumeCapacityPriority) {
    		obj.Shape = []configv1.UtilizationShapePoint{
    			{
    				Utilization: 0,
    				Score:       0,
    			},
    			{
    				Utilization: 100,
    				Score:       int32(config.MaxCustomPriorityScore),
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 13 07:42:19 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  7. pkg/scheduler/apis/config/types_pluginargs.go

    	// The default shape points are:
    	// 1) 0 for 0 utilization
    	// 2) 10 for 100 utilization
    	// All points must be sorted in increasing order by utilization.
    	// +featureGate=VolumeCapacityPriority
    	// +optional
    	Shape []UtilizationShapePoint
    }
    
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    
    // NodeAffinityArgs holds arguments to configure the NodeAffinity plugin.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 13 23:15:53 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  8. pkg/features/kube_features.go

    	VolumeAttributesClass featuregate.Feature = "VolumeAttributesClass"
    
    	// owner: @cofyc
    	// alpha: v1.21
    	VolumeCapacityPriority featuregate.Feature = "VolumeCapacityPriority"
    
    	// owner: @ksubrmnn
    	// alpha: v1.14
    	//
    	// Allows kube-proxy to create DSR loadbalancers for Windows
    	WinDSR featuregate.Feature = "WinDSR"
    
    	// owner: @ksubrmnn
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 22:51:23 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.21.md

    - Added support for installing `arm64` node artifacts. ([#99242](https://github.com/kubernetes/kubernetes/pull/99242), [@liu-cong](https://github.com/liu-cong))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 14 07:03:14 UTC 2022
    - 367.3K bytes
    - Viewed (0)
Back to top