controllers

package
v0.0.0-...-950e6cb Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GPU                                  = "gpu"
	GPUInfo                              = "node-gpu-info"
	GPUInfoNameSpace                     = "node-system"
	NvidiaGPUProduct                     = "nvidia.com/gpu.product"
	NvidiaGPUMemory                      = "nvidia.com/gpu.memory"
	NvidiaGPU        corev1.ResourceName = "nvidia.com/gpu"
	GPUProduct                           = "gpu.product"
	GPUCount                             = "gpu.count"
	GPUMemory                            = "gpu.memory"
	NodeIndexKey                         = "node"
	PodIndexKey                          = "pod"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GpuReconciler

type GpuReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	Logger logr.Logger
}

func (*GpuReconciler) Reconcile

func (r *GpuReconciler) Reconcile(ctx context.Context, _ ctrl.Request) (ctrl.Result, error)

func (*GpuReconciler) SetupWithManager

func (r *GpuReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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