From 4e431404bae8f01f3478fb81d4e22279b97dada1 Mon Sep 17 00:00:00 2001 From: Ivan Kolodiazhnyi Date: Thu, 22 May 2025 14:49:05 +0300 Subject: [PATCH] chore: Update RESTORE_DRIVER_ON_POD_TERMINATION default value This is related to the following PR: https://github.com/Mellanox/doca-driver-build/pull/90 Signed-off-by: Ivan Kolodiazhnyi --- docs/advanced/doca-drivers.rst | 4 ++-- docs/getting-started-kubernetes.rst | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/advanced/doca-drivers.rst b/docs/advanced/doca-drivers.rst index a0c0254..1c18230 100644 --- a/docs/advanced/doca-drivers.rst +++ b/docs/advanced/doca-drivers.rst @@ -39,7 +39,7 @@ The following are special environment variables supported by the NVIDIA DOCA Dri - "false" - Enable loading of NFS & NVME related storage modules from a NVIDIA DOCA Driver container * - RESTORE_DRIVER_ON_POD_TERMINATION - - "true" + - "false" - Restore host drivers when a container In addition, it is possible to specify any environment variables to be exposed to the NVIDIA DOCA Driver container, such as the standard "HTTP_PROXY", "HTTPS_PROXY", "NO_PROXY". @@ -62,7 +62,7 @@ These variables can be set in the NicClusterPolicy. For example: ofedDriver: env: - name: RESTORE_DRIVER_ON_POD_TERMINATION - value: "true" + value: "false" - name: UNLOAD_STORAGE_MODULES value: "true" - name: CREATE_IFNAMES_UDEV diff --git a/docs/getting-started-kubernetes.rst b/docs/getting-started-kubernetes.rst index 2831487..4cd2119 100644 --- a/docs/getting-started-kubernetes.rst +++ b/docs/getting-started-kubernetes.rst @@ -1878,8 +1878,6 @@ Network Operator Deployment and OpenvSwitch offload - managed OpenvSwitch .. warning:: This feature is supported only for Vanilla Kubernetes deployments with SR-IOV Network Operator. -.. warning:: To use DOCA Driver container with this mode of operation, set the `RESTORE_DRIVER_ON_POD_TERMINATION` environment variable to `false` in the driver configuration section in the NicClusterPolicy. Restoration to the inbox driver is not supported for this feature. - .. warning:: Tech Preview feature.