From dab0551066b151e6cae58c2491c3eb3112a8ab8a Mon Sep 17 00:00:00 2001 From: Iceber Gu Date: Fri, 14 Jun 2024 10:00:24 +0800 Subject: [PATCH] apiserver temp Signed-off-by: Iceber Gu --- cmd/apiserver/app/options/options.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cmd/apiserver/app/options/options.go b/cmd/apiserver/app/options/options.go index da529dfc4..5eb37ad22 100644 --- a/cmd/apiserver/app/options/options.go +++ b/cmd/apiserver/app/options/options.go @@ -53,6 +53,9 @@ func NewServerOptions() *ClusterPediaServerOptions { // into this server. So allow many concurrent operations. sso.HTTP2MaxStreamsPerConnection = 1000 + featureOptions := genericoptions.NewFeatureOptions() + featureOptions.EnablePriorityAndFairness = false + return &ClusterPediaServerOptions{ MaxRequestsInFlight: 0, MaxMutatingRequestsInFlight: 0, @@ -62,7 +65,7 @@ func NewServerOptions() *ClusterPediaServerOptions { Authentication: genericoptions.NewDelegatingAuthenticationOptions(), Authorization: genericoptions.NewDelegatingAuthorizationOptions(), Audit: genericoptions.NewAuditOptions(), - Features: genericoptions.NewFeatureOptions(), + Features: featureOptions, CoreAPI: genericoptions.NewCoreAPIOptions(), FeatureGate: feature.DefaultFeatureGate, Admission: genericoptions.NewAdmissionOptions(),