Unverified Commit 330bacb7 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #55908 from mindprince/accelerator-monitoring-api

Automatic merge from submit-queue (batch tested with PRs 55908, 55829, 55293, 55653, 55665). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Fix accelerator stats API to follow API conventions. Introduced in #55188 **Release note**: ```release-note None ```
parents 3ec7487c 274bac23
...@@ -203,15 +203,15 @@ type AcceleratorStats struct { ...@@ -203,15 +203,15 @@ type AcceleratorStats struct {
// Total accelerator memory. // Total accelerator memory.
// unit: bytes // unit: bytes
MemoryTotal uint64 `json:"memory_total"` MemoryTotal uint64 `json:"memoryTotal"`
// Total accelerator memory allocated. // Total accelerator memory allocated.
// unit: bytes // unit: bytes
MemoryUsed uint64 `json:"memory_used"` MemoryUsed uint64 `json:"memoryUsed"`
// Percent of time over the past sample period (10s) during which // Percent of time over the past sample period (10s) during which
// the accelerator was actively processing. // the accelerator was actively processing.
DutyCycle uint64 `json:"duty_cycle"` DutyCycle uint64 `json:"dutyCycle"`
} }
// VolumeStats contains data about Volume filesystem usage. // VolumeStats contains data about Volume filesystem usage.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment