Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CPUAdvisorConfiguration ¶
type CPUAdvisorConfiguration struct { ProvisionPolicies map[types.QoSRegionType][]types.CPUProvisionPolicyName HeadroomPolicies map[types.QoSRegionType][]types.CPUHeadroomPolicyName ProvisionAssembler types.CPUProvisionAssemblerName HeadroomAssembler types.CPUHeadroomAssemblerName *headroom.CPUHeadroomPolicyConfiguration *provision.CPUProvisionPolicyConfiguration *CPUIsolationConfiguration }
CPUAdvisorConfiguration stores configurations of cpu advisors in qos aware plugin
func NewCPUAdvisorConfiguration ¶
func NewCPUAdvisorConfiguration() *CPUAdvisorConfiguration
NewCPUAdvisorConfiguration creates new cpu advisor configurations
type CPUIsolationConfiguration ¶ added in v0.2.0
type CPUIsolationConfiguration struct { // IsolationCPURatio and IsolationCPUSize defines the threshold to trigger isolation IsolationCPURatio float32 IsolationCPUSize int32 // IsolatedMaxPoolRatios defines the max ratio for each pool // key indicates the pool-name that supports cpu-isolation // val indicates the max ratio for this cpu-isolation, IsolatedMaxRatios float32 IsolatedMaxPoolRatios map[string]float32 // IsolationLockInThreshold and IsolationLockOutPeriodSecs defines the lasting periods // before state switches between lock-in and lock-out IsolationLockInThreshold int IsolationLockOutPeriodSecs int IsolationDisabled bool IsolationDisabledPools sets.String }
CPUIsolationConfiguration stores configurations of cpu isolation
func NewCPUIsolationConfiguration ¶ added in v0.2.0
func NewCPUIsolationConfiguration() *CPUIsolationConfiguration
NewCPUIsolationConfiguration creates new resource advisor configurations
Click to show internal directories.
Click to hide internal directories.