From a6f5c97cb8974eb164547ca51fd7c93f4cca4c2f Mon Sep 17 00:00:00 2001 From: Christopher Desiniotis Date: Mon, 2 Dec 2024 16:43:03 -0800 Subject: [PATCH] Specify namespace when getting GPU driver upgrade events Events are namespace-scoped. The GPUDriverUpgrade events are associated with Node objects and are emitted in the default namespace. This aligns with the Node events generated by the kubelet, which also show up in the default namespace. Signed-off-by: Christopher Desiniotis --- gpu-operator/gpu-driver-upgrades.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gpu-operator/gpu-driver-upgrades.rst b/gpu-operator/gpu-driver-upgrades.rst index ce02f05c8..a374ae84e 100644 --- a/gpu-operator/gpu-driver-upgrades.rst +++ b/gpu-operator/gpu-driver-upgrades.rst @@ -219,7 +219,7 @@ Below are an example set of events generated for the upgrade of one node. .. code-block:: console - $ kubectl get events --sort-by='.lastTimestamp' | grep GPUDriverUpgrade + $ kubectl get events -n default --sort-by='.lastTimestamp' | grep GPUDriverUpgrade *Example Output* @@ -259,7 +259,7 @@ If the upgrade fails for a particular node, the node is labelled with the ``upgr .. code:: console - $ kubectl get events --sort-by='.lastTimestamp' | grep GPUDriverUpgrade + $ kubectl get events -n default --sort-by='.lastTimestamp' | grep GPUDriverUpgrade #. (Optional) Check the logs from the upgrade controller in the gpu-operator container: