Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditConfiguration ¶ added in v0.5.4
func NewAuditConfiguration ¶ added in v0.5.4
func NewAuditConfiguration() *AuditConfiguration
type BaseConfiguration ¶
type BaseConfiguration struct { // Agents is the list of agent components to enable or disable // '*' means "all enabled by default agents" // 'foo' means "enable 'foo'" // '-foo' means "disable 'foo'" // first item for a particular name wins Agents []string NodeName string NodeAddress string // LockFileName indicates the file used as unique lock LockFileName string // if LockWaitingEnabled set as true, will not panic and report agent as healthy instead LockWaitingEnabled bool // ReclaimRelativeRootCgroupPath is configurable since we may need to // specify a customized path for reclaimed-cores to enrich qos-management ways ReclaimRelativeRootCgroupPath string *MachineInfoConfiguration *KubeletConfiguration *RuntimeConfiguration *MalachiteConfiguration }
func NewBaseConfiguration ¶
func NewBaseConfiguration() *BaseConfiguration
type KubeletConfiguration ¶ added in v0.4.1
type MachineInfoConfiguration ¶ added in v0.2.0
type MachineInfoConfiguration struct { // if NetMultipleNS set as true, we should collect network interfaces from multiple ns NetMultipleNS bool NetNSDirAbsPath string // SiblingNumaMaxDistance represents the maximum distance between sibling NUMA nodes. // These sibling NUMA nodes have the smallest distance to each other, except for the // distance to themselves. SiblingNumaMaxDistance int // SiblingNumaMemoryBandwidthCapacity is the max capacity of memory bandwidth can share // among sibling NUMAs, and SiblingNumaMemoryBandwidthAllocatableRate is the rate of // the allocatable to the capacity SiblingNumaMemoryBandwidthCapacity int64 SiblingNumaMemoryBandwidthAllocatableRate float64 }
type MalachiteConfiguration ¶ added in v0.5.2
type MalachiteConfiguration struct { // GeneralRelativeCgroupPaths and OptionalRelativeCgroupPaths are both paths of standalone services which not managed by kubernetes. // If the former paths not existed, errors will occur, whereas the latter will not. GeneralRelativeCgroupPaths []string OptionalRelativeCgroupPaths []string }
type PluginManagerConfiguration ¶
type PluginManagerConfiguration struct {
PluginRegistrationDir string
}
func NewPluginManagerConfiguration ¶
func NewPluginManagerConfiguration() *PluginManagerConfiguration
type QRMAdvisorConfiguration ¶
type QRMAdvisorConfiguration struct { CPUAdvisorSocketAbsPath string CPUPluginSocketAbsPath string MemoryAdvisorSocketAbsPath string MemoryPluginSocketAbsPath string }
func NewQRMAdvisorConfiguration ¶
func NewQRMAdvisorConfiguration() *QRMAdvisorConfiguration
type RuntimeConfiguration ¶ added in v0.4.1
type RuntimeConfiguration struct {
RuntimeEndpoint string
}
Click to show internal directories.
Click to hide internal directories.