diff --git a/gpu-operator/install-gpu-operator-nvaie.rst b/gpu-operator/install-gpu-operator-nvaie.rst index 09ec08cfb..787aeb4f7 100644 --- a/gpu-operator/install-gpu-operator-nvaie.rst +++ b/gpu-operator/install-gpu-operator-nvaie.rst @@ -117,7 +117,7 @@ Procedure Updating NLS Client License Token ********************************* -In case the NLS client license token needs to be updated, please use the following procedure: +In case the NLS client license token needs to be updated, use the following procedure: Create an empty vGPU license configuration file: @@ -125,16 +125,21 @@ Create an empty vGPU license configuration file: $ sudo touch gridd.conf -Generate and download a new NLS client license token. Please refer to Section 4.6 of the `NLS User Guide `_ for instructions. +Generate and download a new NLS client license token. Refer to Section 4.6 of the `NLS User Guide `_ for instructions. Rename the NLS client license token that you downloaded to ``client_configuration_token.tok``. -Create a new ``licensing-config-new`` ConfigMap object in the ``gpu-operator`` namespace (make sure the name of the configmap is not already used in the kubernetes cluster). Both the vGPU license configuration file and the NLS client license token will be added to this ConfigMap: +.. warning:: + + The ``configMap(configMapName)`` is **deprecated** and will be removed in a future release. + Use ``secrets(secretName)`` instead. + +Create a new ``licensing-config-new`` Secret object in the ``gpu-operator`` namespace (make sure the name of the secret is not already used in the kubernetes cluster). Both the vGPU license configuration file and the NLS client license token will be added to this Secret: .. code-block:: console - $ kubectl create configmap licensing-config-new \ + $ kubectl create secret generic licensing-config-new \ -n gpu-operator --from-file=gridd.conf --from-file=/client_configuration_token.tok @@ -150,14 +155,14 @@ Go to the driver section and replace the following argument: .. code-block:: console licensingConfig: - configMapName: licensing-config + secretName: licensing-config with .. code-block:: console licensingConfig: - configMapName: licensing-config-new + secretName: licensing-config-new Write and exit from the kubectl edit session (you can use :qw for instance if vi utility is used) diff --git a/gpu-operator/install-gpu-operator-vgpu.rst b/gpu-operator/install-gpu-operator-vgpu.rst index e80cd573d..66d2cbe92 100644 --- a/gpu-operator/install-gpu-operator-vgpu.rst +++ b/gpu-operator/install-gpu-operator-vgpu.rst @@ -207,11 +207,11 @@ Configure the Cluster with the vGPU License Information and the Driver Container $ kubectl create namespace gpu-operator -#. Create a config map that is named ``licensing-config`` using the ``gridd.conf`` and ``client_configuration_token.tok`` files: +#. Create a secret that is named ``licensing-config`` using the ``gridd.conf`` and ``client_configuration_token.tok`` files: .. code-block:: console - $ kubectl create configmap licensing-config \ + $ kubectl create secret generic licensing-config \ -n gpu-operator --from-file=gridd.conf --from-file=client_configuration_token.tok #. Create an image pull secret in the ``gpu-operator`` namespace with the registry secret and private registry. @@ -249,7 +249,7 @@ Install the Operator --set driver.repository=${PRIVATE_REGISTRY} \ --set driver.version=${VGPU_DRIVER_VERSION} \ --set driver.imagePullSecrets={$REGISTRY_SECRET_NAME} \ - --set driver.licensingConfig.configMapName=licensing-config + --set driver.licensingConfig.secretName=licensing-config The preceding command installs the Operator with the default configuration. Refer to :ref:`gpu-operator-helm-chart-options` for information about configuration options.