Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
274bac23
Commit
274bac23
authored
Nov 16, 2017
by
Rohit Agarwal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix accelerator stats API to follow API conventions.
parent
b79e3d14
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
types.go
pkg/kubelet/apis/stats/v1alpha1/types.go
+3
-3
No files found.
pkg/kubelet/apis/stats/v1alpha1/types.go
View file @
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
_t
otal"`
MemoryTotal
uint64
`json:"memory
T
otal"`
// Total accelerator memory allocated.
// Total accelerator memory allocated.
// unit: bytes
// unit: bytes
MemoryUsed
uint64
`json:"memory
_u
sed"`
MemoryUsed
uint64
`json:"memory
U
sed"`
// 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
_c
ycle"`
DutyCycle
uint64
`json:"duty
C
ycle"`
}
}
// VolumeStats contains data about Volume filesystem usage.
// VolumeStats contains data about Volume filesystem usage.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment