resmgr

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2026 License: Apache-2.0 Imports: 35 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	Configure        = "Configure"
	Synchronize      = "Synchronize"
	RunPodSandbox    = "RunPodSandbox"
	StopPodSandbox   = "StopPodSandbox"
	RemovePodSandbox = "RemovePodSandbox"
	CreateContainer  = "CreateContainer"
	StartContainer   = "StartContainer"
	UpdateContainer  = "UpdateContainer"
	StopContainer    = "StopContainer"
	RemoveContainer  = "RemoveContainer"
	UpdateContainers = "UpdateContainers"
)
View Source
const (
	SpanTagRuntimeName    = "runtime.name"
	SpanTagRuntimeVersion = "runtime.version"
	SpanTagNamespace      = "pod.namespace"
	SpanTagPodID          = "pod.id"
	SpanTagPodUID         = "pod.uid"
	SpanTagPodName        = "pod.name"
	SpanTagCtrID          = "container.id"
	SpanTagCtrName        = "container.name"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v0.3.0

type Config = cfgapi.CommonConfig

type ResourceManager

type ResourceManager interface {
	// Start starts the resource manager.
	Start() error
	// Stop stops the resource manager.
	Stop()
	// RequestShutdown asks the resource manager to shut down gracefully.
	RequestShutdown(reason string)
}

ResourceManager is the interface we expose for controlling the CRI resource manager.

func NewResourceManager

func NewResourceManager(backend policy.Backend, agt *agent.Agent) (ResourceManager, error)

NewResourceManager creates a new ResourceManager instance.

Directories

Path Synopsis
Package cpuclass is the resource-manager-wide CPU class handler.
Package cpuclass is the resource-manager-wide CPU class handler.
internal/cpufreq
Package cpufreq owns the cpufreq-side CPU-class lifecycle: resolution of symbolic frequencies (min/base/turbo), turbo-priority winner selection per turbo domain, and the per-CPU sysfs writes that follow.
Package cpufreq owns the cpufreq-side CPU-class lifecycle: resolution of symbolic frequencies (min/base/turbo), turbo-priority winner selection per turbo domain, and the per-CPU sysfs writes that follow.
internal/cpuidle
Package cpuidle is the C-state writer used by the cpuclass handler.
Package cpuidle is the C-state writer used by the cpuclass handler.
internal/types
Package types defines the internal class-definition struct used by the cpuclass writers (cpufreq, cpuidle, uncorefreq).
Package types defines the internal class-definition struct used by the cpuclass writers (cpufreq, cpuidle, uncorefreq).
internal/uncorefreq
Package uncorefreq is the per-die uncore frequency writer used by the cpuclass handler.
Package uncorefreq is the per-die uncore frequency writer used by the cpuclass handler.
Package dra implements a DRA (Dynamic Resource Allocation) kubelet plugin.
Package dra implements a DRA (Dynamic Resource Allocation) kubelet plugin.
lib
memory
Package libmem implements a simple memory accounting and allocation scheme for resource management policy plugins.
Package libmem implements a simple memory accounting and allocation scheme for resource management policy plugins.

Jump to

Keyboard shortcuts

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