NVIDIA / k8s-device-plugin

NVIDIA device plugin for Kubernetes
Apache License 2.0
2.45k stars 573 forks source link

E2E Test: Create a DiagnosticCollector #650

Closed ArangoGutierrez closed 3 weeks ago

ArangoGutierrez commented 1 month ago

The DiagnosticCollector is an enhanced version of the previously introduced MustGather function, the result is still the same, but now we have granular control over the objects that we want to capture logs for each test and add the option to manually specify which objects to collect from for when running the e2e manually and the user is only interested in the behavior of a particular object.

It also defines "extensions" referring to CRD's, opening the door for future CRD's we want to check during testing. this initial iteration only defines NFD for NodeFeature and NodeFeatureRule.