Kind
NVIDIADriver
Group
nvidia.com
Version
v1alpha1
apiVersion: nvidia.com/v1alpha1 kind: NVIDIADriver metadata: name: example
Tip: use .spec.args for path-only search
View raw schema
apiVersion string
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kind string
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadata object
spec object
NVIDIADriverSpec defines the desired state of NVIDIADriver
annotations object
Optional: Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects.
args []string
Optional: List of arguments
certConfig object
Optional: Custom certificates configuration for NVIDIA Driver container
name string
driverType string required
DriverType defines NVIDIA driver type
enum: gpu, vgpu, vgpu-host-manager
env []object
Optional: List of environment variables
name string required
Name of the environment variable.
value string
Value of the environment variable.
gdrcopy object
GDRCopy defines the spec for GDRCopy driver
args []string
Optional: List of arguments
enabled boolean
Enabled indicates if GDRCopy is enabled through GPU operator
env []object
Optional: List of environment variables
name string required
Name of the environment variable.
value string
Value of the environment variable.
image string
GDRCopy driver image name
pattern: [a-zA-Z0-9\-]+
imagePullPolicy string
Image pull policy
imagePullSecrets []string
Image pull secrets
repository string
GDRCopy diver image repository
version string
GDRCopy driver image tag
gds object
GPUDirectStorage defines the spec for GDS driver
args []string
Optional: List of arguments
enabled boolean
Enabled indicates if GPUDirect Storage is enabled through GPU operator
env []object
Optional: List of environment variables
name string required
Name of the environment variable.
value string
Value of the environment variable.
image string
NVIDIA GPUDirect Storage Driver image name
pattern: [a-zA-Z0-9\-]+
imagePullPolicy string
Image pull policy
imagePullSecrets []string
Image pull secrets
repository string
NVIDIA GPUDirect Storage Driver image repository
version string
NVIDIA GPUDirect Storage Driver image tag
image string required
NVIDIA Driver container image name
imagePullPolicy string
Image pull policy
imagePullSecrets []string
Image pull secrets
kernelModuleConfig object
Optional: Kernel module configuration parameters for the NVIDIA Driver
name string
kernelModuleType string
KernelModuleType represents the type of driver kernel modules to be used when installing the GPU driver. Accepted values are auto, proprietary and open. NOTE: If auto is chosen, it means that the recommended kernel module type is chosen based on the GPU devices on the host and the driver branch used
enum: auto, open, proprietary
labels object
Optional: Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services.
licensingConfig object
Optional: Licensing configuration for NVIDIA vGPU licensing
name string
nlsEnabled boolean
NLSEnabled indicates if NVIDIA Licensing System is used for licensing.
livenessProbe object
NVIDIA Driver container liveness probe settings
failureThreshold integer
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
format: int32
minimum: 1
initialDelaySeconds integer
Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
format: int32
periodSeconds integer
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.
format: int32
minimum: 1
successThreshold integer
Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.
format: int32
minimum: 1
timeoutSeconds integer
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
format: int32
minimum: 1
manager object
Manager represents configuration for NVIDIA Driver Manager initContainer
env []object
Optional: List of environment variables
name string required
Name of the environment variable.
value string
Value of the environment variable.
image string
Image represents NVIDIA Driver Manager image name
pattern: [a-zA-Z0-9\-]+
imagePullPolicy string
Image pull policy
imagePullSecrets []string
Image pull secrets
repository string
Repository represents Driver Managerrepository path
version string
Version represents NVIDIA Driver Manager image tag(version)
nodeAffinity object
Affinity specifies node affinity rules for driver pods
preferredDuringSchedulingIgnoredDuringExecution []object
The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred.
preference object required
A node selector term, associated with the corresponding weight.
matchExpressions []object
A list of node selector requirements by node's labels.
key string required
The label key that the selector applies to.
operator string required
Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
values []string
An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
matchFields []object
A list of node selector requirements by node's fields.
key string required
The label key that the selector applies to.
operator string required
Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
values []string
An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
weight integer required
Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
format: int32
requiredDuringSchedulingIgnoredDuringExecution object
If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node.
nodeSelectorTerms []object required
Required. A list of node selector terms. The terms are ORed.
matchExpressions []object
A list of node selector requirements by node's labels.
key string required
The label key that the selector applies to.
operator string required
Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
values []string
An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
matchFields []object
A list of node selector requirements by node's fields.
key string required
The label key that the selector applies to.
operator string required
Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
values []string
An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
nodeSelector object
NodeSelector specifies a selector for installation of NVIDIA driver
priorityClassName string
Optional: Set priorityClassName
rdma object
GPUDirectRDMA defines the spec for NVIDIA Peer Memory driver
enabled boolean
Enabled indicates if GPUDirect RDMA is enabled through GPU operator
useHostMofed boolean
UseHostMOFED indicates to use MOFED drivers directly installed on the host to enable GPUDirect RDMA
readinessProbe object
NVIDIA Driver container readiness probe settings
failureThreshold integer
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
format: int32
minimum: 1
initialDelaySeconds integer
Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
format: int32
periodSeconds integer
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.
format: int32
minimum: 1
successThreshold integer
Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.
format: int32
minimum: 1
timeoutSeconds integer
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
format: int32
minimum: 1
repoConfig object
Optional: Custom repo configuration for NVIDIA Driver container
name string
repository string
NVIDIA Driver repository
resources object
Optional: Define resources requests and limits for each pod
limits object
Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
requests object
Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
startupProbe object
NVIDIA Driver container startup probe settings
failureThreshold integer
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
format: int32
minimum: 1
initialDelaySeconds integer
Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
format: int32
periodSeconds integer
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.
format: int32
minimum: 1
successThreshold integer
Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.
format: int32
minimum: 1
timeoutSeconds integer
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
format: int32
minimum: 1
tolerations []object
Optional: Set tolerations
effect string
Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
key string
Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
operator string
Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.
tolerationSeconds integer
TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
format: int64
value string
Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
useOpenKernelModules boolean
Deprecated: This field is no longer honored by the gpu-operator. Please use KernelModuleType instead. UseOpenKernelModules indicates if the open GPU kernel modules should be used
usePrecompiled boolean
UsePrecompiled indicates if deployment of NVIDIA Driver using pre-compiled modules is enabled
version string
NVIDIA Driver version (or just branch for precompiled drivers)
virtualTopologyConfig object
Optional: Virtual Topology Daemon configuration for NVIDIA vGPU drivers
name string
Optional: Config name representing virtual topology daemon configuration file nvidia-topologyd.conf
status object
NVIDIADriverStatus defines the observed state of NVIDIADriver
conditions []object
Conditions is a list of conditions representing the NVIDIADriver's current state.
lastTransitionTime string required
lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
format: date-time
message string required
message is a human readable message indicating details about the transition. This may be an empty string.
maxLength: 32768
observedGeneration integer
observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
format: int64
minimum: 0
reason string required
reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
minLength: 1
maxLength: 1024
status string required
status of the condition, one of True, False, Unknown.
enum: True, False, Unknown
type string required
type of condition in CamelCase or in foo.example.com/CamelCase.
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
maxLength: 316
namespace string
Namespace indicates a namespace in which the operator and driver are installed
state string required
INSERT ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run "make" to regenerate code after modifying this file State indicates status of NVIDIADriver instance
enum: ignored, ready, notReady

No matches. Try .spec.args for an exact path

Copied!