Documentation ¶
Index ¶
Constants ¶
View Source
const (
PluginName = "overcommitment-aware-plugin"
)
Variables ¶
This section is empty.
Functions ¶
func NewOvercommitmentAwarePlugin ¶
func NewOvercommitmentAwarePlugin( pluginName string, conf *config.Configuration, _ interface{}, emitterPool metricspool.MetricsEmitterPool, metaServer *metaserver.MetaServer, _ metacache.MetaCache, ) (plugin.SysAdvisorPlugin, error)
Types ¶
type OvercommitmentAwarePlugin ¶
type OvercommitmentAwarePlugin struct {
// contains filtered or unexported fields
}
OvercommitmentAwarePlugin calculates node overcommitment ratio, values will be reported to node KCNR annotations by the reporter.
func (*OvercommitmentAwarePlugin) Init ¶
func (op *OvercommitmentAwarePlugin) Init() error
func (*OvercommitmentAwarePlugin) Name ¶
func (op *OvercommitmentAwarePlugin) Name() string
func (*OvercommitmentAwarePlugin) Run ¶
func (op *OvercommitmentAwarePlugin) Run(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.