@@ -103,16 +103,13 @@ func InitOptions() *Options {
103103 constants .DefaultRuntimeClassName ))
104104 fs .BoolVar (& options .ValidatePodResizeQuota ,
105105 "validate-pod-resize-quota" , true ,
106- "Enable hierarchical queue limit and quota checks on pods/resize requests. " +
107- "Checks are best-effort (fail-open): a resize is admitted rather than blocked when " +
108- "the webhook or its queue and podgroup lookups are unavailable. " +
109- "When false, the webhook admits all resizes without checking queue limits or quota, " +
110- "and --block-upsize-on-bounded-queues is ignored." )
106+ "Enable queue limit/quota checks on pod resize requests. " +
107+ "Best-effort: if lookups fail, resize is admitted. " +
108+ "Ignored if false, disables --block-upsize-on-bounded-queues." )
111109 fs .BoolVar (& options .BlockUpsizeOnBoundedQueues ,
112110 "block-upsize-on-bounded-queues" , false ,
113- "Reject any upsize on a queue (or ancestor) with a finite CPU or memory limit, " +
114- "regardless of current allocation. Prevents concurrent-resize races from exceeding hard limits. " +
115- "Has no effect when --validate-pod-resize-quota is false." )
111+ "Block pod upsize if queue or ancestor has a CPU/memory limit. " +
112+ "No effect if --validate-pod-resize-quota is false." )
116113
117114 utilfeature .DefaultMutableFeatureGate .AddFlag (fs )
118115
0 commit comments