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 ¶
View Source
var ( ErrKueueOperatorAlreadyInstalled = odherrors.NewStopError(status.KueueOperatorAlreadyInstalledMessage) ErrKueueOperatorNotInstalled = odherrors.NewStopError(status.KueueOperatorNotInstalledMessage) )
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 Flavors ¶ added in v2.35.0
type Flavors struct {
Name string
Resources []FlavorResource
}
type ResourceQuantity ¶ added in v2.35.0
ResourceQuantity represents a resource with its allocatable values.
Click to show internal directories.
Click to hide internal directories.