From a8dae55164b96b3b0d794b52330b2c315e6c99c8 Mon Sep 17 00:00:00 2001 From: Poor12 Date: Mon, 28 Nov 2022 16:12:07 +0800 Subject: [PATCH] evolute CustomizedClusterResourceModeling FeatureGate to Beta abd enable it by default Signed-off-by: Poor12 --- artifacts/deploy/karmada-aggregated-apiserver.yaml | 2 +- artifacts/deploy/karmada-controller-manager.yaml | 1 - artifacts/deploy/karmada-scheduler.yaml | 1 - pkg/features/features.go | 2 +- 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/artifacts/deploy/karmada-aggregated-apiserver.yaml b/artifacts/deploy/karmada-aggregated-apiserver.yaml index d4ac76fc16e8..7e1e75225895 100644 --- a/artifacts/deploy/karmada-aggregated-apiserver.yaml +++ b/artifacts/deploy/karmada-aggregated-apiserver.yaml @@ -43,7 +43,7 @@ spec: - --tls-cert-file=/etc/karmada/pki/karmada.crt - --tls-private-key-file=/etc/karmada/pki/karmada.key - --audit-log-path=- - - --feature-gates=APIPriorityAndFairness=false,CustomizedClusterResourceModeling=true + - --feature-gates=APIPriorityAndFairness=false - --audit-log-maxage=0 - --audit-log-maxbackup=0 resources: diff --git a/artifacts/deploy/karmada-controller-manager.yaml b/artifacts/deploy/karmada-controller-manager.yaml index cefcd197ca2b..efa296499f3e 100644 --- a/artifacts/deploy/karmada-controller-manager.yaml +++ b/artifacts/deploy/karmada-controller-manager.yaml @@ -29,7 +29,6 @@ spec: - --bind-address=0.0.0.0 - --cluster-status-update-frequency=10s - --secure-port=10357 - - --feature-gates=CustomizedClusterResourceModeling=true - --failover-eviction-timeout=30s - --v=4 livenessProbe: diff --git a/artifacts/deploy/karmada-scheduler.yaml b/artifacts/deploy/karmada-scheduler.yaml index bab6f4748173..1401e7a4cca0 100644 --- a/artifacts/deploy/karmada-scheduler.yaml +++ b/artifacts/deploy/karmada-scheduler.yaml @@ -38,7 +38,6 @@ spec: - --bind-address=0.0.0.0 - --secure-port=10351 - --enable-scheduler-estimator=true - - --feature-gates=CustomizedClusterResourceModeling=true - --v=4 volumeMounts: - name: kubeconfig diff --git a/pkg/features/features.go b/pkg/features/features.go index d3440fbdc478..c27fa590892f 100644 --- a/pkg/features/features.go +++ b/pkg/features/features.go @@ -29,7 +29,7 @@ var ( Failover: {Default: true, PreRelease: featuregate.Beta}, GracefulEviction: {Default: true, PreRelease: featuregate.Beta}, PropagateDeps: {Default: true, PreRelease: featuregate.Beta}, - CustomizedClusterResourceModeling: {Default: false, PreRelease: featuregate.Alpha}, + CustomizedClusterResourceModeling: {Default: true, PreRelease: featuregate.Beta}, } )