@@ -1028,6 +1028,84 @@ spec:
10281028 description : NVIDIA DRA driver image tag
10291029 type : string
10301030 type : object
1031+ gpuConfigManager :
1032+ description : |-
1033+ GPUConfigManager defines the spec for the GPU configuration manager. It configures
1034+ GPU settings such as the power limit, locked clocks and ECC mode on each node from
1035+ ConfigMaps in the operator namespace, and applies them again after every driver
1036+ load. Disabled when unset.
1037+ properties :
1038+ config :
1039+ description : |-
1040+ Config selects the ConfigMap (key config.yaml) in the operator namespace with the GPU settings for all nodes.
1041+ For a node, gpu-config-node-<node name> wins over gpu-config-pool-<pool>, which wins over this one.
1042+ <pool> is derived from the node's nvidia.com/gpu-config.pool label (lowercased, "_" to "-"; values that
1043+ can't name a ConfigMap are ignored); set POOL_LABEL_KEY in spec.gpuConfigManager.env to use another label.
1044+ properties :
1045+ name :
1046+ default : gpu-config
1047+ description : |-
1048+ Name of the ConfigMap in the operator namespace with the GPU settings for nodes
1049+ that have no per-node or per-pool ConfigMap
1050+ type : string
1051+ type : object
1052+ enabled :
1053+ description : Enabled indicates if deployment of the GPU configuration
1054+ manager is enabled
1055+ type : boolean
1056+ env :
1057+ description : |-
1058+ Optional: List of environment variables. They are also passed to the gpu-config init container
1059+ of the validator / DRA kubelet plugin, even when the manager is disabled. GPU_CONFIG_NO_MODULE_TIMEOUT
1060+ sets how long that container waits for the nvidia module before letting allocators start (default 5m).
1061+ items :
1062+ description : EnvVar represents an environment variable present
1063+ in a Container.
1064+ properties :
1065+ name :
1066+ description : Name of the environment variable.
1067+ type : string
1068+ value :
1069+ description : Value of the environment variable.
1070+ type : string
1071+ required :
1072+ - name
1073+ type : object
1074+ type : array
1075+ hostNetwork :
1076+ description : HostNetwork indicates whether the GPU configuration
1077+ manager pod uses the host's network namespace.
1078+ type : boolean
1079+ resources :
1080+ description : ' Optional: Define resources requests and limits for
1081+ each pod'
1082+ properties :
1083+ limits :
1084+ additionalProperties :
1085+ anyOf :
1086+ - type : integer
1087+ - type : string
1088+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
1089+ x-kubernetes-int-or-string : true
1090+ description : |-
1091+ Limits describes the maximum amount of compute resources allowed.
1092+ More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
1093+ type : object
1094+ requests :
1095+ additionalProperties :
1096+ anyOf :
1097+ - type : integer
1098+ - type : string
1099+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
1100+ x-kubernetes-int-or-string : true
1101+ description : |-
1102+ Requests describes the minimum amount of compute resources required.
1103+ If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
1104+ otherwise to an implementation-defined value. Requests cannot exceed Limits.
1105+ More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
1106+ type : object
1107+ type : object
1108+ type : object
10311109 hostPaths :
10321110 description : HostPaths defines the host paths used in host-path volumes
10331111 for various components.
0 commit comments