Skip to content

Commit

Permalink
apiserver temp
Browse files Browse the repository at this point in the history
Signed-off-by: Iceber Gu <[email protected]>
  • Loading branch information
Iceber committed Jun 14, 2024
1 parent 8847e82 commit dab0551
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmd/apiserver/app/options/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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(),
Expand Down

0 comments on commit dab0551

Please sign in to comment.