Skip to content

Commit

Permalink
feat(sysadvisor): update default enabled plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
nightmeng authored and waynepeking348 committed May 9, 2024
1 parent 4391efa commit 6e4a3b0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion cmd/katalyst-agent/app/options/sysadvisor/sysadvisor_base.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import (
metricemitter "github.com/kubewharf/katalyst-core/cmd/katalyst-agent/app/options/sysadvisor/metric-emitter"
"github.com/kubewharf/katalyst-core/cmd/katalyst-agent/app/options/sysadvisor/overcommit"
"github.com/kubewharf/katalyst-core/cmd/katalyst-agent/app/options/sysadvisor/qosaware"
"github.com/kubewharf/katalyst-core/pkg/agent/sysadvisor/types"
"github.com/kubewharf/katalyst-core/pkg/config/agent/sysadvisor"
)

Expand All @@ -39,7 +40,12 @@ type GenericSysAdvisorOptions struct {
// NewGenericSysAdvisorOptions creates a new Options with a default config.
func NewGenericSysAdvisorOptions() *GenericSysAdvisorOptions {
return &GenericSysAdvisorOptions{
SysAdvisorPlugins: []string{"*"},
SysAdvisorPlugins: []string{
types.AdvisorPluginNameQoSAware,
types.AdvisorPluginNameMetaCache,
types.AdvisorPluginNameMetricEmitter,
types.AdvisorPluginNameInference,
},
StateFileDirectory: "/var/lib/katalyst/sys_advisor/",
}
}
Expand Down

0 comments on commit 6e4a3b0

Please sign in to comment.