Skip to content

Commit 49af9fb

Browse files
authored
Specify namespace when getting GPU driver upgrade events (#133)
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 <[email protected]>
1 parent fa4b34f commit 49af9fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gpu-operator/gpu-driver-upgrades.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ Below are an example set of events generated for the upgrade of one node.
219219

220220
.. code-block:: console
221221
222-
$ kubectl get events --sort-by='.lastTimestamp' | grep GPUDriverUpgrade
222+
$ kubectl get events -n default --sort-by='.lastTimestamp' | grep GPUDriverUpgrade
223223
224224
*Example Output*
225225

@@ -259,7 +259,7 @@ If the upgrade fails for a particular node, the node is labelled with the ``upgr
259259

260260
.. code:: console
261261
262-
$ kubectl get events --sort-by='.lastTimestamp' | grep GPUDriverUpgrade
262+
$ kubectl get events -n default --sort-by='.lastTimestamp' | grep GPUDriverUpgrade
263263
264264
#. (Optional) Check the logs from the upgrade controller in the gpu-operator container:
265265

0 commit comments

Comments
 (0)