Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,19 @@ labels: kind/bug

Please include the following information:

> **Preferred:** create a redacted archive first and inspect it before sharing:
>
> ```bash
> hack/hami-support-bundle.sh --kubeconfig /path/to/config --context my-context \
> --namespace hami-system --pod affected-pod --output-dir ./hami-support
> ```
>
> The collector never queries Kubernetes Secrets. Use `--help` for node and
> cluster-wide options, and attach only artifacts appropriate for the issue.

- The Pod manifest, or at least its accelerator resource requests and limits
- Pod events and relevant accelerator-related node annotations
- Output from the vendor's diagnostic tool, when available (for example, `nvidia-smi -a` for NVIDIA devices)
- Output from the vendor's diagnostic tool, when available (for example, `nvidia-smi -q` for NVIDIA devices). The support-bundle script runs these optional tools only on the machine where the script is invoked; it does not run them on remote Kubernetes nodes.
- Your container runtime configuration (for example, `/etc/docker/daemon.json` or the relevant containerd configuration)
- Logs from the device plugin for the affected accelerator
- The hami-scheduler logs
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ test:
bench:
bash hack/bench.sh

.PHONY: test-support-bundle
test-support-bundle:
bash hack/test-hami-support-bundle.sh

lint:
bash hack/verify-staticcheck.sh

Expand Down
Loading
Loading