config

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultKoordletConfigMapNamespace = "koordinator-system"
	DefaultKoordletConfigMapName      = "koordlet-config"

	CMKeyQoSPluginExtraConfigs = "qos-plugin-extra-configs"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	ConfigMapName      string
	ConfigMapNamesapce string
	KubeRestConf       *rest.Config
	StatesInformerConf *statesinformerimpl.Config
	CollectorConf      *maframework.Config
	MetricCacheConf    *metriccache.Config
	QOSManagerConf     *qmframework.Config
	RuntimeHookConf    *runtimehooks.Config
	AuditConf          *audit.Config
	PredictionConf     *prediction.Config

	FeatureGates map[string]bool
}

func NewConfiguration

func NewConfiguration() *Configuration

func (*Configuration) InitFlags

func (c *Configuration) InitFlags(fs *flag.FlagSet)

func (*Configuration) InitKubeConfigForKoordlet added in v1.3.0

func (c *Configuration) InitKubeConfigForKoordlet(kubeAPIQPS float64, kubeAPIBurst int) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL