-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use uint64 for Memory Stats #1068
Conversation
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
Can one of the admins verify that this patch is reasonable to test? (reply "ok to test", or if you trust the user, reply "add to whitelist") If this message is too spammy, please complain to ixdy. |
I signed it! |
CLAs look good, thanks! |
@@ -136,7 +136,7 @@ type MachineInfo struct { | |||
CpuFrequency uint64 `json:"cpu_frequency_khz"` | |||
|
|||
// The amount of memory (in bytes) in this machine | |||
MemoryCapacity int64 `json:"memory_capacity"` | |||
MemoryCapacity uint64 `json:"memory_capacity"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change makes sense, but it is a breaking API change :( Its not clear if it will break any users though. So let's try rolling this out and then revert if required.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know it breaks API, but it can't be done in any other way :( and also int64 is too small for current memory size...
ok to test |
@krhubert: Tests are failing. |
I see, but don't know how this test is running. I have run it localy and everthing was fine (log below). As i can see from details:
The integrantion tests are falling, cAdvisor didn't come up, but there is no logs about why ... :/
|
@vishh Can you help me with that? |
retest this please |
@k8s-bot test this |
Merging as discussed above with @vishh. |
Use uint64 for Memory Stats
Fix #1065