集群设置增加自动硬盘TRIM选项

This commit is contained in:
刘祥超
2024-04-04 17:05:09 +08:00
parent c6f9126ae2
commit 7c5c600e31
6 changed files with 920 additions and 884 deletions

View File

@@ -90,6 +90,7 @@ type NodeConfig struct {
Clock *ClockConfig `yaml:"clock" json:"clock"` // 时钟配置
AutoInstallNftables bool `yaml:"autoInstallNftables" json:"autoInstallNftables"` // 自动安装nftables
AutoSystemTuning bool `yaml:"autoSystemTuning" json:"autoSystemTuning"` // 自动调整系统参数
AutoTrimDisks bool `yaml:"autoTrimDisks" json:"autoTrimDisks"` // 自动执行TRIM
// 指标
MetricItems []*serverconfigs.MetricItemConfig `yaml:"metricItems" json:"metricItems"`