Skip to content

Commit a199b18

Browse files
Merge pull request #2498 from sairameshv/enable_DRA
OCPNODE-3895,OCPNODE-3894,OCPNODE-3779: Enable DRA(DynamicResourceAllocation) featuregate by default
2 parents 02f6733 + 6127c8d commit a199b18

17 files changed

+35
-341
lines changed

config/v1/tests/schedulers.config.openshift.io/DynamicResourceAllocation.yaml

Lines changed: 0 additions & 16 deletions
This file was deleted.

config/v1/types_scheduling.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ type SchedulerSpec struct {
5050
// profileCustomizations contains configuration for modifying the default behavior of existing scheduler profiles.
5151
// Deprecated: no longer needed, since DRA is GA starting with 4.21, and
5252
// is enabled by' default in the cluster, this field will be removed in 4.24.
53-
// +openshift:enable:FeatureGate=DynamicResourceAllocation
5453
// +openshift:enable:FeatureGate=HyperShiftOnlyDynamicResourceAllocation
5554
// +optional
5655
ProfileCustomizations ProfileCustomizations `json:"profileCustomizations"`

config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_schedulers-SelfManagedHA-DevPreviewNoUpgrade.crd.yaml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -108,28 +108,6 @@ spec:
108108
- HighNodeUtilization
109109
- NoScoring
110110
type: string
111-
profileCustomizations:
112-
description: |-
113-
profileCustomizations contains configuration for modifying the default behavior of existing scheduler profiles.
114-
Deprecated: no longer needed, since DRA is GA starting with 4.21, and
115-
is enabled by' default in the cluster, this field will be removed in 4.24.
116-
properties:
117-
dynamicResourceAllocation:
118-
description: |-
119-
dynamicResourceAllocation allows to enable or disable dynamic resource allocation within the scheduler.
120-
Dynamic resource allocation is an API for requesting and sharing resources between pods and containers inside a pod.
121-
Third-party resource drivers are responsible for tracking and allocating resources.
122-
Different kinds of resources support arbitrary parameters for defining requirements and initialization.
123-
Valid values are Enabled, Disabled and omitted.
124-
When omitted, this means no opinion and the platform is left to choose a reasonable default,
125-
which is subject to change over time.
126-
The current default is Disabled.
127-
enum:
128-
- ""
129-
- Enabled
130-
- Disabled
131-
type: string
132-
type: object
133111
type: object
134112
status:
135113
description: status holds observed values from the cluster. They may not

config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_schedulers-SelfManagedHA-TechPreviewNoUpgrade.crd.yaml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -108,28 +108,6 @@ spec:
108108
- HighNodeUtilization
109109
- NoScoring
110110
type: string
111-
profileCustomizations:
112-
description: |-
113-
profileCustomizations contains configuration for modifying the default behavior of existing scheduler profiles.
114-
Deprecated: no longer needed, since DRA is GA starting with 4.21, and
115-
is enabled by' default in the cluster, this field will be removed in 4.24.
116-
properties:
117-
dynamicResourceAllocation:
118-
description: |-
119-
dynamicResourceAllocation allows to enable or disable dynamic resource allocation within the scheduler.
120-
Dynamic resource allocation is an API for requesting and sharing resources between pods and containers inside a pod.
121-
Third-party resource drivers are responsible for tracking and allocating resources.
122-
Different kinds of resources support arbitrary parameters for defining requirements and initialization.
123-
Valid values are Enabled, Disabled and omitted.
124-
When omitted, this means no opinion and the platform is left to choose a reasonable default,
125-
which is subject to change over time.
126-
The current default is Disabled.
127-
enum:
128-
- ""
129-
- Enabled
130-
- Disabled
131-
type: string
132-
type: object
133111
type: object
134112
status:
135113
description: status holds observed values from the cluster. They may not

config/v1/zz_generated.featuregated-crd-manifests.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,6 @@ schedulers.config.openshift.io:
551551
Capability: ""
552552
Category: ""
553553
FeatureGates:
554-
- DynamicResourceAllocation
555554
- HyperShiftOnlyDynamicResourceAllocation
556555
FilenameOperatorName: config-operator
557556
FilenameOperatorOrdering: "01"

config/v1/zz_generated.featuregated-crd-manifests/schedulers.config.openshift.io/DynamicResourceAllocation.yaml

Lines changed: 0 additions & 145 deletions
This file was deleted.

features.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
| DNSNameResolver| | | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> |
4242
| DualReplica| | | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> |
4343
| DyanmicServiceEndpointIBMCloud| | | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> |
44-
| DynamicResourceAllocation| | | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> |
4544
| EtcdBackendQuota| | | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> |
4645
| EventTTL| | | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> |
4746
| Example| | | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> |

features/features.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,6 @@ var (
8484
enableIn(configv1.Default, configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade).
8585
mustRegister()
8686

87-
FeatureGateDynamicResourceAllocation = newFeatureGate("DynamicResourceAllocation").
88-
reportProblemsToJiraComponent("scheduling").
89-
contactPerson("jchaloup").
90-
productScope(kubernetes).
91-
enhancementPR("https://github.com/kubernetes/enhancements/issues/4381").
92-
enableIn(configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade).
93-
mustRegister()
94-
9587
FeatureGateAzureWorkloadIdentity = newFeatureGate("AzureWorkloadIdentity").
9688
reportProblemsToJiraComponent("cloud-credential-operator").
9789
contactPerson("abutcher").

0 commit comments

Comments
 (0)