Documentation ¶
Index ¶
Constants ¶
View Source
const ( Ready = "Ready" Errored = "Errored" ReasonModuleFailed = "ModuleFailed" ReasonDcgmExporterFailed = "DcgmExporterFailed" ReasonDcgmDaemonSetFailed = "DcgmDaemonSetFailed" ReasonNvidiaContainerToolkitDaemonSetFailed = "NvidiaContainerToolkitDaemonSetFailed" ReasonDriverNvidiaExporterServiceFailed = "DriverNvidiaExporterServiceFailed" ReasonDriverNvidiaExporterDaemonSetFailed = "DriverNvidiaExporterDaemonSetFailed" ReasonConflictingNodeSelector = "ConflictingNodeSelector" )
View Source
const ( DcgmImageEnvVar = "DCGM_IMAGE" DcgmExporterImageEnvVar = "DCGM_EXPORTER_IMAGE" DevicePluginImageEnvVar = "DEVICE_PLUGIN_IMAGE" DriverNvidiaImageBasenameEnvVar = "DRIVER_NVIDIA_IMAGE_BASENAME" DriverNvidiaExporterImageEnvVar = "DRIVER_NVIDIA_EXPORTER_IMAGE" DriverNvidiaValidationImageEnvVar = "DRIVER_NVIDIA_VALIDATION_IMAGE" NvidiaContainerToolkitImageEnvVar = "NVIDIA_CONTAINER_TOOLKIT_IMAGE" NvidiaContainerToolkitValidationImageEnvVar = "NVIDIA_CONTAINER_TOOLKIT_VALIDATION_IMAGE" )
Variables ¶
View Source
var Settings = ControllerSettings{}
Functions ¶
This section is empty.
Types ¶
type ControllerSettings ¶
type ControllerSettings struct { DcgmImage string DcgmExporterImage string DevicePluginImage string DriverNvidiaImageBasename string DriverNvidiaExporterImage string DriverNvidiaValidationImage string NvidiaContainerToolkitImage string NvidiaContainerToolkitValidationImage string }
func (*ControllerSettings) Load ¶
func (r *ControllerSettings) Load() error
type Reconciler ¶
DeviceConfigReconciler reconciles a DeviceConfig object
func NewReconciler ¶
func NewReconciler( client client.Client, scheme *runtime.Scheme, recorder record.EventRecorder) *Reconciler
func (*Reconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.