kueue

package
v2.35.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2025 License: Apache-2.0 Imports: 49 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ComponentName = componentApi.KueueComponentName

	ReadyConditionType = componentApi.KueueKind + status.ReadySuffix

	// LegacyComponentName is the name of the component that is assigned to deployments
	// via Kustomize. Since a deployment selector is immutable, we can't upgrade existing
	// deployment to the new component name, so keep it around till we figure out a solution.
	LegacyComponentName        = "kueue"
	ClusterQueueViewerRoleName = "kueue-clusterqueue-viewer-role"
	KueueBatchUserLabel        = "rbac.kueue.x-k8s.io/batch-user"
	KueueAdminRoleBindingName  = "kueue-admin-rolebinding"
	KueueAdminRoleName         = "kueue-batch-admin-role"

	KueueCRName         = "cluster"
	KueueConfigMapName  = "kueue-manager-config"
	KueueConfigMapEntry = "controller_manager_config.yaml"

	NSListLimit = 500

	// GPU resource keys.
	NvidiaGPUResourceKey = "nvidia.com/gpu"
	AMDGPUResourceKey    = "amd.com/gpu"
	// Flavor names.
	DefaultFlavorName = "default-flavor"
	NvidiaFlavorName  = "nvidia-gpu-flavor"
	AMDFlavorName     = "amd-gpu-flavor"
)

Variables

Functions

This section is empty.

Types

type ClusterResourceInfo added in v2.35.0

type ClusterResourceInfo struct {
	CPU     ResourceQuantity
	Memory  ResourceQuantity
	GPUInfo map[string]*ResourceQuantity
}

ClusterResourceInfo contains information about a node's resources and GPU capabilities.

type FlavorResource added in v2.35.0

type FlavorResource struct {
	Name  string
	Value string
}

type Flavors added in v2.35.0

type Flavors struct {
	Name      string
	Resources []FlavorResource
}

type ResourceQuantity added in v2.35.0

type ResourceQuantity struct {
	Allocatable resource.Quantity
}

ResourceQuantity represents a resource with its allocatable values.

Jump to

Keyboard shortcuts

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