Skip to content

Conversation

@rahulait
Copy link
Contributor

This PR introduces a new end-to-end testing framework using Kyverno Chainsaw to validate GPU Operator installations and running tests. Chainsaw takes care of installing and uninstalling the resources and provides a declarative way to define tests. Initial test added in this PR provides comprehensive validation of the GPU Operator install and functionality.

Key changes added:

  1. Development environment using devbox
    Added devbox.json file which contains the required tools to build and test the repository. Note: to use devbox, make sure you have devbox installed on the machine where the code is checked out.
  2. Sample chainsaw test to install gpu-operator and run gpu pod
    Added one chainsaw test which can be run against any deployed k8s cluster with GPUs using:
root@machine:~ cd gpu-operator
root@machine:~ devbox shell
(devbox) root@machine:~ KUBECONFIG=<path to kubeconfig> chainsaw test e2etests/tests/

@copy-pr-bot
Copy link

copy-pr-bot bot commented Oct 23, 2025

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@rahulait rahulait force-pushed the chainsaw-tests branch 5 times, most recently from ffb2249 to 213e99e Compare October 27, 2025 14:28
Signed-off-by: Rahul Sharma <[email protected]>
@rahulait
Copy link
Contributor Author

/ok to test ac86e8d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant