Skip to content
This repository has been archived by the owner on Dec 1, 2018. It is now read-only.

Export node cpu metrics in whole cores #1981

Merged

Conversation

serathius
Copy link
Contributor

@serathius serathius commented Mar 19, 2018

Fixes problem of inconsistent unit for cpu metrics.

"kubernetes.io/node/cpu/allocatable_cores" and "kubernetes.io/node/cpu/total_cores" should be expressed in cores like"kubernetes.io/container/cpu/request_cores"

When new SD node metrics where separated from container ones. They where not divided in same way as previously

cc @loburm @kawych

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Mar 19, 2018
@kawych
Copy link
Contributor

kawych commented Mar 19, 2018

/lgtm

@k8s-ci-robot k8s-ci-robot added lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Mar 19, 2018
@serathius serathius force-pushed the node-cpu-whole-cores branch from 615c48b to fb742b6 Compare March 19, 2018 14:31
@k8s-ci-robot k8s-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Mar 19, 2018
@loburm
Copy link
Contributor

loburm commented Mar 19, 2018

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Mar 19, 2018
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kawych, loburm, serathius

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kawych
Copy link
Contributor

kawych commented Mar 19, 2018

/ok-to-test

@k8s-ci-robot k8s-ci-robot removed the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Mar 19, 2018
@k8s-ci-robot k8s-ci-robot merged commit 238acd1 into kubernetes-retired:master Mar 19, 2018
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants