NVIDIA / k8s-dra-driver

Dynamic Resource Allocation (DRA) for NVIDIA GPUs in Kubernetes
Apache License 2.0
195 stars 36 forks source link

Add a tool for creating and updating svg demos #116

Open yuanchen8911 opened 2 months ago

yuanchen8911 commented 2 months ago
  1. Add a demo creation tool (copied from the KWOK project) that can run and record a demo in a svg format from a script. Thus, we can update a demo (a svg file) when a DRA script or configuration changes. To generate/update a demo, just run
    make demo/specs/quickstart/basic-demo.svg
  2. Add the demo script file that was used to generate the current demo in the README file.
  3. Regenerate the svg demo file in README.

Note: this PR removes -it from the command docker exec -it "${KIND_CLUSTER_NAME}-worker" umount -R /proc/driver/nvidia in create-kind-cluster.sh because the demo creation script doesn't support TTY. The change won't affect the use of the script standalone.