diff --git a/pkg/kubelet/apis/stats/v1alpha1/types.go b/pkg/kubelet/apis/stats/v1alpha1/types.go index ebe65861d82..00d5c58f876 100644 --- a/pkg/kubelet/apis/stats/v1alpha1/types.go +++ b/pkg/kubelet/apis/stats/v1alpha1/types.go @@ -203,15 +203,15 @@ type AcceleratorStats struct { // Total accelerator memory. // unit: bytes - MemoryTotal uint64 `json:"memory_total"` + MemoryTotal uint64 `json:"memoryTotal"` // Total accelerator memory allocated. // unit: bytes - MemoryUsed uint64 `json:"memory_used"` + MemoryUsed uint64 `json:"memoryUsed"` // Percent of time over the past sample period (10s) during which // the accelerator was actively processing. - DutyCycle uint64 `json:"duty_cycle"` + DutyCycle uint64 `json:"dutyCycle"` } // VolumeStats contains data about Volume filesystem usage.