NVIDIA / NVIDIA/k8s-device-plugin
Add advanced health check configuration to config file
Open
Nobody has claimed this yet.
feature
lifecycle/frozen
- Dominant language
- Go
- Stars
- 3.9k
- Forks
- 868
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 27
Description
Enhanced Error-handling config
Current State
See https://docs.nvidia.com/deploy/xid-errors/index.html#xid-error-listing
The NVIDIA GPU Device Plugin
We register for NVML Events of type nvml.EventTypeXidCriticalError | nvml.EventTypeDoubleBitEccError | nvml.EventTypeSingleBitEccError
We treat the following XIDs as non-fatal errors:
| XID | Description |
|---|---|
| 13 | Graphics Engine Exception |
| 31 | GPU memory page fault |
| 43 | GPU stopped processing |
| 45 | Preemptive cleanup, due to previous errors |
| 68 | Video processor exception |
| 109 | Context Switch Timeout Error |
We allow additional Xids to be specified in the DP_DISABLE_HEALTHCHECKS envvar with the following logic:
- If the value is
xidsorallwe disable healthchecks entirely. - A comma-separated list of numeric XIDs to ignore: e.g.
109,68
The GKE Device Plugin
By default the following error is checked:
| XID | Description |
|---|---|
| 48 | Double-bit ECC Error |
The XID_CONFIG envvar is used to specifiy a comma-separated list of additional XIDs to treat as critical.
Proposal
Add the following config section:
version: v1
health:
disabled: false
eventTypes: [EventTypeXidCriticalError, EventTypeDoubleBitEccError, EventTypeSingleBitEccError]
ignoredXIDs: [13, 31, 43, 45, 68]
criticalXIDs: all
GKE defaults:
version: v1
health:
disabled: false
eventTypes: [EventTypeXidCriticalError]
ignoredXIDs: []
criticalXIDs: [48]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.