Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions gpu-operator/install-gpu-operator-nvaie.rst
Original file line number Diff line number Diff line change
Expand Up @@ -117,24 +117,29 @@ 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:

.. code-block:: console

$ sudo touch gridd.conf

Generate and download a new NLS client license token. Please refer to Section 4.6 of the `NLS User Guide <https://docs.nvidia.com/license-system/latest/pdf/nvidia-license-system-user-guide.pdf>`_ for instructions.
Generate and download a new NLS client license token. Refer to Section 4.6 of the `NLS User Guide <https://docs.nvidia.com/license-system/latest/pdf/nvidia-license-system-user-guide.pdf>`_ 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=<path>/client_configuration_token.tok


Expand All @@ -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)

Expand Down
6 changes: 3 additions & 3 deletions gpu-operator/install-gpu-operator-vgpu.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down