Documentation ¶
Index ¶
- Constants
- Variables
- func GetCPUManagerPolicy() string
- func GetEvictionVersion(kubeClient clientset.Interface) (string, error)
- func SetEvictionWatermark(cfg *api.ColocationConfig, lowWatermark apis.Watermark, ...)
- func UpdateFile(path string, content []byte) error
- func UpdatePodCgroup(cgroupFile string, content []byte) error
- type OSRelease
Constants ¶
View Source
const (
// Component is volcano agent component name
Component = "volcano-agent"
)
Variables ¶
View Source
var ( SysFsPathEnv = "SYS_FS_PATH" DefaultSysFsPath = "/sys/fs" )
Functions ¶
func GetCPUManagerPolicy ¶
func GetCPUManagerPolicy() string
func SetEvictionWatermark ¶
func SetEvictionWatermark(cfg *api.ColocationConfig, lowWatermark apis.Watermark, highWatermark apis.Watermark)
SetEvictionWatermark set eviction watermark.
func UpdateFile ¶
func UpdatePodCgroup ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.