metaserver

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MetricProvisionerMalachite = "malachite"
	MetricProvisionerCgroup    = "cgroup"
	MetricProvisionerKubelet   = "kubelet"
	MetricProvisionerRodan     = "rodan"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentConfiguration

type AgentConfiguration struct {
	*MetricConfiguration
	*PodConfiguration
	*NodeConfiguration
	*CNRConfiguration
	*CNCConfiguration

	EnableMetricsFetcher bool
	EnableCNCFetcher     bool
}

func NewAgentConfiguration

func NewAgentConfiguration() *AgentConfiguration

type CNCConfiguration

type CNCConfiguration struct {
	CustomNodeConfigCacheTTL time.Duration
}

type CNRConfiguration

type CNRConfiguration struct {
	CNRCacheTTL time.Duration
}

type CgroupMetricConfiguration added in v0.5.1

type CgroupMetricConfiguration struct{}

type ExternalConfiguration

type ExternalConfiguration struct{}

func NewExternalConfiguration

func NewExternalConfiguration() *ExternalConfiguration

type KCCConfiguration

type KCCConfiguration struct {
	ConfigCacheTTL                 time.Duration
	ConfigCheckpointGraceTime      time.Duration
	ConfigSkipFailedInitialization bool
	ConfigDisableDynamic           bool
}

func NewKCCConfiguration

func NewKCCConfiguration() *KCCConfiguration

type KubeletConfiguration

type KubeletConfiguration struct {
	KubeletReadOnlyPort      int
	KubeletSecurePort        int
	KubeletSecurePortEnabled bool

	KubeletConfigEndpoint  string
	KubeletPodsEndpoint    string
	KubeletSummaryEndpoint string

	APIAuthTokenFile string
}

type KubeletMetricConfiguration added in v0.5.1

type KubeletMetricConfiguration struct{}

type MalachiteMetricConfiguration added in v0.5.1

type MalachiteMetricConfiguration struct{}

type MetaServerConfiguration

type MetaServerConfiguration struct {
	*KCCConfiguration
	*SPDConfiguration
	*ExternalConfiguration
	*AgentConfiguration

	CheckpointManagerDir string
}

func NewMetaServerConfiguration

func NewMetaServerConfiguration() *MetaServerConfiguration

type MetricConfiguration

type MetricConfiguration struct {
	MetricInsurancePeriod time.Duration
	MetricProvisions      []string

	DefaultInterval      time.Duration
	ProvisionerIntervals map[string]time.Duration

	*MalachiteMetricConfiguration
	*CgroupMetricConfiguration
	*KubeletMetricConfiguration
	*RodanMetricConfiguration
}

type NodeConfiguration

type NodeConfiguration struct{}

type PodConfiguration

type PodConfiguration struct {
	KubeletPodCacheSyncPeriod    time.Duration
	KubeletPodCacheSyncMaxRate   rate.Limit
	KubeletPodCacheSyncBurstBulk int

	RuntimePodCacheSyncPeriod time.Duration
}

type RodanMetricConfiguration added in v0.5.0

type RodanMetricConfiguration struct {
	RodanServerPort int
}

type RuntimeConfiguration

type RuntimeConfiguration struct {
	RuntimeEndpoint string
}

type SPDConfiguration

type SPDConfiguration struct {
	ServiceProfileSkipCorruptionError bool
	ServiceProfileCacheTTL            time.Duration
}

func NewSPDConfiguration

func NewSPDConfiguration() *SPDConfiguration

Jump to

Keyboard shortcuts

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