You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cluster-autoscaler/config/autoscaling_options.go
+24Lines changed: 24 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -318,6 +318,30 @@ type AutoscalingOptions struct {
318
318
// It only refers to check capacity ProvisioningRequests, but if not empty, best-effort atomic ProvisioningRequests processing is disabled in this instance.
319
319
// Not recommended: Until CA 1.35, ProvisioningRequests with this name as prefix in their class will be also processed.
320
320
CheckCapacityProcessorInstancestring
321
+
// MaxInactivityTime is the maximum time from last recorded autoscaler activity before automatic restart.
322
+
MaxInactivityTime time.Duration
323
+
// MaxFailingTime is the maximum time from last recorded successful autoscaler run before automatic restart.
324
+
MaxFailingTime time.Duration
325
+
// DebuggingSnapshotEnabled is used to enable/disable debugging snapshot creation.
326
+
DebuggingSnapshotEnabledbool
327
+
// EnableProfiling is debug/pprof endpoint enabled.
328
+
EnableProfilingbool
329
+
// Address is the address to expose prometheus metrics.
330
+
Addressstring
331
+
// EmitPerNodeGroupMetrics is used to enable/disable emitting per node group metrics.
332
+
EmitPerNodeGroupMetricsbool
333
+
// FrequentLoopsEnabled is used to enable/disable frequent loops.
334
+
FrequentLoopsEnabledbool
335
+
// ScanInterval is how often cluster is reevaluated for scale up or down
336
+
ScanInterval time.Duration
337
+
// ForceDaemonSets is used to block scale-up of node groups too small for all suitable Daemon Sets pods.
338
+
ForceDaemonSetsbool
339
+
// NodeInfoCacheExpireTime is the time after which the node info cache expires for each item, Default value is 10 years.
340
+
NodeInfoCacheExpireTime time.Duration
341
+
// ProactiveScaleupEnabled is used to enable/disable proactive scale up.
342
+
ProactiveScaleupEnabledbool
343
+
// PodInjectionLimit limits total number of pods while injecting fake pods.
344
+
PodInjectionLimitint
321
345
}
322
346
323
347
// KubeClientOptions specify options for kube client
0 commit comments