Documentation ¶
Overview ¶
Package config is the package that contains those important configurations for all running components, including Manager, eviction manager and external controller.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { // those configurations for multi components *generic.GenericConfiguration // those configurations are used by controllers *webhook.GenericWebhookConfiguration *webhook.WebhooksConfiguration // those configurations are used by controllers *controller.GenericControllerConfiguration *controller.ControllersConfiguration // those configurations are used by metric *metric.GenericMetricConfiguration *metric.CustomMetricConfiguration *DynamicConfiguration }
Configuration stores all the configurations needed by core katalyst components, both for static config (only support to be modified by flag) and dynamic config
func NewConfiguration ¶
func NewConfiguration() *Configuration
type DynamicConfiguration ¶
type DynamicConfiguration struct { // those configurations are used by agents *agent.GenericAgentConfiguration *agent.AgentConfiguration }
DynamicConfiguration stores all the configurations needed by core katalyst components, and those configurations can be modified dynamically
func NewDynamicConfiguration ¶
func NewDynamicConfiguration() *DynamicConfiguration
func (*DynamicConfiguration) ApplyAgentConfiguration ¶
func (d *DynamicConfiguration) ApplyAgentConfiguration(conf *dynamic.DynamicConfigCRD)
ApplyAgentConfiguration is used to set configuration contents by CR dynamically.
Click to show internal directories.
Click to hide internal directories.