v1alpha1

package
v0.2.1-rc0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the v1alpha1 API group. +kubebuilder:object:generate=true +groupName=intel.com

Index

Constants

View Source
const (
	DefaultDPPluginImage    = "docker.io/intel/intel-gpu-plugin:0.35.0@sha256:34697f9c286857da986381595ac2a693524a83c831955247dae47dfda4d2f526"
	DefaultDPLevelzeroImage = "docker.io/intel/intel-gpu-levelzero:0.35.0@sha256:a8a0729f253de6e8e117a7ef621883a1228f7304747076dcd1446c3e18804021"
	DefaultDRAImage         = "" /* 157-byte string literal not displayed */
	DefaultXPUImage         = "ghcr.io/intel/xpumanager/xpumd:v2.0.0-rc.0@sha256:8f020012f68888314402c0332a53718ace4ade9913476bbd125af89edb760a8b"
)

Default images used when no image is specified in the ClusterPolicy spec. These match the pinned images shipped in the Helm chart values.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects.
	GroupVersion = schema.GroupVersion{Group: "intel.com", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme.
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

func SetupClusterPolicyWebhookWithManager

func SetupClusterPolicyWebhookWithManager(mgr ctrl.Manager) error

SetupClusterPolicyWebhookWithManager registers the webhook for ClusterPolicy in the manager.

func SetupGPUFirmwareUpdateWebhookWithManager

func SetupGPUFirmwareUpdateWebhookWithManager(mgr ctrl.Manager) error

SetupGPUFirmwareUpdateWebhookWithManager registers the webhook for GPUFirmwareUpdate in the manager.

Types

type ClusterPolicy

type ClusterPolicy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ClusterPolicySpec   `json:"spec,omitempty"`
	Status ClusterPolicyStatus `json:"status,omitempty"`
}

ClusterPolicy is the Schema for the clusterpolicies API.

func (*ClusterPolicy) DeepCopy

func (in *ClusterPolicy) DeepCopy() *ClusterPolicy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPolicy.

func (*ClusterPolicy) DeepCopyInto

func (in *ClusterPolicy) DeepCopyInto(out *ClusterPolicy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClusterPolicy) DeepCopyObject

func (in *ClusterPolicy) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ClusterPolicyCustomDefaulter

type ClusterPolicyCustomDefaulter struct{}

ClusterPolicyCustomDefaulter sets default image values on ClusterPolicy resources.

func (*ClusterPolicyCustomDefaulter) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPolicyCustomDefaulter.

func (*ClusterPolicyCustomDefaulter) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClusterPolicyCustomDefaulter) Default

Default implements webhook.CustomDefaulter. It fills in missing image references with the pinned known-good images shipped with this version of the operator.

type ClusterPolicyCustomValidator

type ClusterPolicyCustomValidator struct{}

ClusterPolicyCustomValidator validates ClusterPolicy resources on create and update.

func (*ClusterPolicyCustomValidator) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPolicyCustomValidator.

func (*ClusterPolicyCustomValidator) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClusterPolicyCustomValidator) ValidateCreate

ValidateCreate implements webhook.CustomValidator.

func (*ClusterPolicyCustomValidator) ValidateDelete

ValidateDelete implements webhook.CustomValidator.

func (*ClusterPolicyCustomValidator) ValidateUpdate

ValidateUpdate implements webhook.CustomValidator.

type ClusterPolicyList

type ClusterPolicyList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ClusterPolicy `json:"items"`
}

ClusterPolicyList contains a list of ClusterPolicy.

func (*ClusterPolicyList) DeepCopy

func (in *ClusterPolicyList) DeepCopy() *ClusterPolicyList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPolicyList.

func (*ClusterPolicyList) DeepCopyInto

func (in *ClusterPolicyList) DeepCopyInto(out *ClusterPolicyList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClusterPolicyList) DeepCopyObject

func (in *ClusterPolicyList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ClusterPolicySpec

type ClusterPolicySpec struct {
	// Which type of resource registration is to be used: Device plugin (dp) or Dynamic Resource Allocation (dra).
	// +kubebuilder:validation:Enum=dp;dra
	ResourceRegistration string `json:"resourceRegistration"`

	// To enable resource monitoring via XPU or not. Deploys GPU Plugin or DRA with monitoring enabled and
	// XPU Manager DaemonSet if true.
	ResourceMonitoring bool `json:"resourceMonitoring,omitempty"`

	// Use NFD rule to label nodes.
	UseNFDLabeling bool `json:"useNFDLabeling,omitempty"`

	// Deploy Kubernetes components to integrate with Prometheus.
	PrometheusIntegration bool `json:"prometheusIntegration,omitempty"`

	// Set up Kueue queues for node resources
	// +optional
	EnableKueue bool `json:"enableKueue,omitempty"`

	// Define Kueue queues
	Kueue *KueueQueueSpec `json:"kueue,omitempty"`

	// Enable health monitoring in DP/DRA
	// These values are applied to all the Intel GPU devices in the cluster.
	// Mechanism to monitor the values differ between DP and DRA. DP uses LevelZero API
	// directly, while DRA relies on the health status provided by XPU Manager.
	HealthinessSpec *HealthinessSpec `json:"health,omitempty"`

	// +optional
	DynamicResourceAllocationSpec DynamicResourceAllocationSpec `json:"dra"`
	// +optional
	DevicePluginSpec DevicePluginSpec `json:"dp"`
	// +optional
	XpuManagerSpec XpuManagerSpec `json:"xpu"`

	// Pull secret is shared with all the deployments.
	// +optional
	PullSecret *v1.LocalObjectReference `json:"pullSecret,omitempty"`

	NodeSelector map[string]string `json:"nodeSelector,omitempty"`
	Tolerations  []v1.Toleration   `json:"tolerations,omitempty"`

	// LogLevel to overwrite the default log level of the components.
	// +kubebuilder:validation:Range=0:4
	// +kubebuilder:validation:Default=2
	LogLevel int32 `json:"logLevel,omitempty"`
}

ClusterPolicySpec defines the desired state of ClusterPolicy.

func (*ClusterPolicySpec) DeepCopy

func (in *ClusterPolicySpec) DeepCopy() *ClusterPolicySpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPolicySpec.

func (*ClusterPolicySpec) DeepCopyInto

func (in *ClusterPolicySpec) DeepCopyInto(out *ClusterPolicySpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClusterPolicyStatus

type ClusterPolicyStatus struct {
	DevicePluginStatus string   `json:"devicePluginStatus,omitempty"`
	DRAStatus          string   `json:"draStatus,omitempty"`
	XPUManagerStatus   string   `json:"xpuManagerStatus,omitempty"`
	Errors             []string `json:"errors,omitempty"`
}

ClusterPolicyStatus defines the observed state of ClusterPolicy.

func (*ClusterPolicyStatus) DeepCopy

func (in *ClusterPolicyStatus) DeepCopy() *ClusterPolicyStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPolicyStatus.

func (*ClusterPolicyStatus) DeepCopyInto

func (in *ClusterPolicyStatus) DeepCopyInto(out *ClusterPolicyStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClusterQueueSpec

type ClusterQueueSpec struct {
	// Name of the cluster queue
	Name string `json:"name"`
	// List of Kueue LocalQueues to create for this ClusterQueue
	LocalQueues []LocalQueueSpec `json:"localQueues"`
}

ClusterQueueSpec defines a Kueue ClusterQueues

func (*ClusterQueueSpec) DeepCopy

func (in *ClusterQueueSpec) DeepCopy() *ClusterQueueSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterQueueSpec.

func (*ClusterQueueSpec) DeepCopyInto

func (in *ClusterQueueSpec) DeepCopyInto(out *ClusterQueueSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DevicePluginSpec

type DevicePluginSpec struct {
	// Container image for the GPU plugin
	PluginImage string `json:"plugin,omitempty"`
	// Container image for the Level Zero companion container
	LevelzeroImage string `json:"levelzero,omitempty"`

	// AllowIDs and DenyIDs are used to control which devices are registered as resources.
	// Allow or deny certain PCI Device IDs. Both cannot be used together. Format is '0xabcd'.
	AllowIDs []string `json:"allowIDs,omitempty"`
	DenyIDs  []string `json:"denyIDs,omitempty"`

	// ByPathMode controls DRI by-path entries are exposed by the plugin.
	// +kubebuilder:validation:Enum=single;all;none
	ByPathMode string `json:"byPathMode,omitempty"`

	// +kubebuilder:validation:Range=0:4
	// +kubebuilder:validation:Default=1
	LogLevel int32 `json:"logLevel,omitempty"`
}

DevicePluginSpec defines the desired state of DevicePlugin.

func (*DevicePluginSpec) DeepCopy

func (in *DevicePluginSpec) DeepCopy() *DevicePluginSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevicePluginSpec.

func (*DevicePluginSpec) DeepCopyInto

func (in *DevicePluginSpec) DeepCopyInto(out *DevicePluginSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DynamicResourceAllocationSpec

type DynamicResourceAllocationSpec struct {
	Image string `json:"image,omitempty"`

	LogLevel int32 `json:"logLevel,omitempty"`

	// DeviceTaints controls whether DRA applies taints to the GPU devices if
	// the devices are indicated as unhealthy by the health monitoring.
	DeviceTaints bool `json:"deviceTaints,omitempty"`

	// Enable DRA Pod's health check.
	// +kubebuilder:default=true
	PodHealthCheck bool `json:"podHealthCheck,omitempty"`
}

DynamicResourceAllocationSpec defines the desired state of DynamicResourceAllocation.

func (*DynamicResourceAllocationSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicResourceAllocationSpec.

func (*DynamicResourceAllocationSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GPUFirmwareContent

type GPUFirmwareContent struct {
	// Container image containing the firmware files under /update directory.
	ContainerImage string `json:"containerImage"`

	Files []GPUFirmwareFile `json:"files"`
}

func (*GPUFirmwareContent) DeepCopy

func (in *GPUFirmwareContent) DeepCopy() *GPUFirmwareContent

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GPUFirmwareContent.

func (*GPUFirmwareContent) DeepCopyInto

func (in *GPUFirmwareContent) DeepCopyInto(out *GPUFirmwareContent)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GPUFirmwareFile

type GPUFirmwareFile struct {
	// +kubebuilder:validation:Enum=GFX;GFX_DATA;GFX_CODE_DATA;GFX_PSCBIN;AMC;FAN_TABLE;VR_CONFIG;OPROM_CODE;OPROM_DATA
	Type string `json:"type"`
	// Filename of the firmware file without any directories.
	FileName string `json:"filename"`
	// SHA256 checksum of the firmware file. Format: sha256:<64 hex characters>.
	// When set, content.containerImage must be digest-pinned (image@sha256:...).
	// +kubebuilder:validation:Pattern=`^sha256:[0-9a-f]{64}$`
	// +optional
	Checksum string `json:"checksum,omitempty"`
}

func (*GPUFirmwareFile) DeepCopy

func (in *GPUFirmwareFile) DeepCopy() *GPUFirmwareFile

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GPUFirmwareFile.

func (*GPUFirmwareFile) DeepCopyInto

func (in *GPUFirmwareFile) DeepCopyInto(out *GPUFirmwareFile)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GPUFirmwareUpdate

type GPUFirmwareUpdate struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   GPUFirmwareUpdateSpec   `json:"spec,omitempty"`
	Status GPUFirmwareUpdateStatus `json:"status,omitempty"`
}

GPUFirmwareUpdate is the Schema for the gpufirmwareupdates API. +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:path=gpufirmwareupdates,scope=Cluster

func (*GPUFirmwareUpdate) DeepCopy

func (in *GPUFirmwareUpdate) DeepCopy() *GPUFirmwareUpdate

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GPUFirmwareUpdate.

func (*GPUFirmwareUpdate) DeepCopyInto

func (in *GPUFirmwareUpdate) DeepCopyInto(out *GPUFirmwareUpdate)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GPUFirmwareUpdate) DeepCopyObject

func (in *GPUFirmwareUpdate) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GPUFirmwareUpdateCustomValidator

type GPUFirmwareUpdateCustomValidator struct {
}

as this struct is used only for temporary operations and does not need to be deeply copied.

func (*GPUFirmwareUpdateCustomValidator) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GPUFirmwareUpdateCustomValidator.

func (*GPUFirmwareUpdateCustomValidator) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GPUFirmwareUpdateCustomValidator) ValidateCreate

ValidateCreate implements webhook.CustomValidator so a webhook will be registered for the type GPUFirmwareUpdate.

func (*GPUFirmwareUpdateCustomValidator) ValidateDelete

ValidateDelete implements webhook.CustomValidator so a webhook will be registered for the type GPUFirmwareUpdate.

func (*GPUFirmwareUpdateCustomValidator) ValidateUpdate

func (v *GPUFirmwareUpdateCustomValidator) ValidateUpdate(_ context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)

ValidateUpdate rejects changes to fields that are immutable once an update is in progress.

type GPUFirmwareUpdateList

type GPUFirmwareUpdateList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []GPUFirmwareUpdate `json:"items"`
}

GPUFirmwareUpdateList contains a list of GPUFirmwareUpdate. +kubebuilder:object:root=true

func (*GPUFirmwareUpdateList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GPUFirmwareUpdateList.

func (*GPUFirmwareUpdateList) DeepCopyInto

func (in *GPUFirmwareUpdateList) DeepCopyInto(out *GPUFirmwareUpdateList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GPUFirmwareUpdateList) DeepCopyObject

func (in *GPUFirmwareUpdateList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GPUFirmwareUpdateSpec

type GPUFirmwareUpdateSpec struct {
	// List of GPU firmwares to be updated.
	Content GPUFirmwareContent `json:"content"`

	// +kubebuilder:validation:Enum=canary;direct
	UpdateMethod string `json:"updateMethod"`

	// Updater container to run the firmware update.
	// Should container xpu-smi tool that is used to perform the updates.
	UpdaterImage string `json:"updaterImage"`

	// Pull secret for the updater image and the content image, if needed.
	ImagePullSecret string `json:"imagePullSecret,omitempty"`

	// Target PCI Device ID in case the node has multiple GPU types. Format is '0xabcd'.
	PCIDeviceID string `json:"pciDeviceID,omitempty"`

	// Taint key to be applied to nodes during firmware update.
	// Taint value is always NoSchedule.
	// +kubebuilder:default=gpufirmware-update
	UpdateTaint string `json:"updateTaint"`

	// Tolerations needed to be scheduled to the node.
	Tolerations []v1.Toleration `json:"tolerations,omitempty"`

	// Node selector to target specific nodes for firmware update.
	NodeSelector map[string]string `json:"nodeSelector,omitempty"`

	// AMCCredentialsSecret is the name of a Kubernetes Secret (in the operator namespace)
	// containing 'username' and 'password' keys used for the AMC firmware update method
	// (redfish interface). Required when any firmware file has type AMC.
	// +optional
	AMCCredentialsSecret string `json:"amcCredentialsSecret,omitempty"`

	// InsecureSkipTLSVerify disables TLS certificate verification when the operator
	// contacts the content image registry to check reachability or verify file checksums.
	// Use this when the registry uses a self-signed or private-CA certificate.
	// Note: this flag only affects the operator's pre-verification calls; the actual
	// firmware-update DaemonSet image pull is controlled by the node's container runtime.
	// +optional
	InsecureSkipTLSVerify bool `json:"insecureSkipTLSVerify,omitempty"`

	// HoldAfterCanary, when true, pauses the update in the canary_done state after a
	// successful canary update and waits for HoldAfterCanary to be set to false.
	// When false (default), the full rollout starts automatically.
	// +optional
	HoldAfterCanary bool `json:"holdAfterCanary,omitempty"`
}

GPUFirmwareUpdateSpec defines the desired state of GPUFirmwareUpdate.

func (*GPUFirmwareUpdateSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GPUFirmwareUpdateSpec.

func (*GPUFirmwareUpdateSpec) DeepCopyInto

func (in *GPUFirmwareUpdateSpec) DeepCopyInto(out *GPUFirmwareUpdateSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GPUFirmwareUpdateStatus

type GPUFirmwareUpdateStatus struct {
	// Indicates the current state of the firmware update process.
	// Moves from "" (not started) -> "draining" -> "updating" -> "cleanup" -> "completed" or "error".
	State string `json:"state"`
	// Messages contains informational or error messages related to the update process.
	Messages []string `json:"messages"`

	// Substatus for nodes.
	NodeInfos GPUFirmwareUpdateSubsetStatus `json:"nodeInfos"`
}

GPUFirmwareUpdateStatus defines the observed state of GPUFirmwareUpdate.

func (*GPUFirmwareUpdateStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GPUFirmwareUpdateStatus.

func (*GPUFirmwareUpdateStatus) DeepCopyInto

func (in *GPUFirmwareUpdateStatus) DeepCopyInto(out *GPUFirmwareUpdateStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GPUFirmwareUpdateSubsetStatus

type GPUFirmwareUpdateSubsetStatus struct {
	All       []string `json:"allNodes,omitempty"`
	Pending   []string `json:"pendingNodes,omitempty"`
	Draining  []string `json:"drainingNodes,omitempty"`
	Updating  []string `json:"updatingNodes,omitempty"`
	Completed []string `json:"completedNodes,omitempty"`
	Error     []string `json:"errorNodes,omitempty"`
	Jobs      []string `json:"jobs,omitempty"`
}

func (*GPUFirmwareUpdateSubsetStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GPUFirmwareUpdateSubsetStatus.

func (*GPUFirmwareUpdateSubsetStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type HealthinessSpec

type HealthinessSpec struct {
	// Not supported by Device Plugin
	// +kubebuilder:validation:Minimum=1
	// +kubebuilder:validation:Maximum=3600
	// +kubebuilder:default:=5
	CheckIntervalSeconds int32 `json:"checkIntervalSeconds,omitempty"`

	// +kubebuilder:validation:Minimum=1
	// +kubebuilder:validation:Maximum=130
	// +kubebuilder:default:=100
	CoreTemperatureThreshold int32 `json:"coreTemperatureThreshold,omitempty"`

	// +kubebuilder:validation:Minimum=1
	// +kubebuilder:validation:Maximum=130
	// +kubebuilder:default:=100
	MemoryTemperatureThreshold int32 `json:"memoryTemperatureThreshold,omitempty"`
}

HealthinessSpec defines the thresholds for health monitoring.

func (*HealthinessSpec) DeepCopy

func (in *HealthinessSpec) DeepCopy() *HealthinessSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthinessSpec.

func (*HealthinessSpec) DeepCopyInto

func (in *HealthinessSpec) DeepCopyInto(out *HealthinessSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type KueueQueueSpec

type KueueQueueSpec struct {
	// Cluster queues for dividing resources evenly
	EqualResources []ClusterQueueSpec `json:"equalResources"`
}

KueueQueueSpec defines Kueue cluster and local queues

func (*KueueQueueSpec) DeepCopy

func (in *KueueQueueSpec) DeepCopy() *KueueQueueSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KueueQueueSpec.

func (*KueueQueueSpec) DeepCopyInto

func (in *KueueQueueSpec) DeepCopyInto(out *KueueQueueSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LocalQueueSpec

type LocalQueueSpec struct {
	// Name of the cluster queue
	Name string `json:"name"`
	// Namespace for the local queue
	Namespace string `json:"namespace"`
}

LocalQueueSpec defines a Kueue Local Queue

func (*LocalQueueSpec) DeepCopy

func (in *LocalQueueSpec) DeepCopy() *LocalQueueSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalQueueSpec.

func (*LocalQueueSpec) DeepCopyInto

func (in *LocalQueueSpec) DeepCopyInto(out *LocalQueueSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type XpuManagerSpec

type XpuManagerSpec struct {
	Image string `json:"image,omitempty"`

	// +kubebuilder:validation:Range=0:3
	// +kubebuilder:validation:Default=2
	LogLevel int32 `json:"logLevel,omitempty"`

	// ConfigMapOverride allows overriding the default OpenTelemetry Collector configuration used by XPU Manager.
	// Configmap has to be in the same namespace as the operator and contain a key "config.yaml" with the configuration content.
	// The value should be a YAML string containing the configuration. If not set, a default configuration will be used.
	ConfigMapOverride string `json:"configMapOverride,omitempty"`

	// Set monitoring resource name for Device Plugin use. If not set, the default resource
	// name "gpu.intel.com/xe_monitoring" will be used.
	// +kubebuilder:validation:Enum=i915_monitoring;xe_monitoring;monitoring
	MonitoringResource string `json:"monitoringResource,omitempty"`
}

XpuManagerSpec defines the desired state of XpuManager.

func (*XpuManagerSpec) DeepCopy

func (in *XpuManagerSpec) DeepCopy() *XpuManagerSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new XpuManagerSpec.

func (*XpuManagerSpec) DeepCopyInto

func (in *XpuManagerSpec) DeepCopyInto(out *XpuManagerSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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