Skip to content
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

Add new "metrics" API group. #16621

Merged
merged 1 commit into from Nov 3, 2015

Conversation

timstclair
Copy link

Forked from #16458 for the purposes of separating the discussion of the API group setup from the discussion of the API itself. I added 2 "placeholder" types (which will eventually be fleshed out) for purposes of demonstrating the API setup, and giving the code-generation tools something to generate.

From the metrics group proposal
First steps towards #12483

cc/ @vishh @dchen1107 @lavalamp

@timstclair timstclair added area/api Indicates an issue on api area. sig/node Categorizes an issue or PR as relevant to SIG Node. labels Oct 30, 2015
@k8s-github-robot
Copy link

Labelling this PR as size/XXL

@k8s-github-robot k8s-github-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Oct 30, 2015
@k8s-bot
Copy link

k8s-bot commented Oct 30, 2015

GCE e2e test build/test passed for commit 2856973ce46d01691bd4b14fd5f8e9c54d2fd438.

panic(err)
}
return interfaces.Codec
interfaces, err := latest.GroupOrDie(g.Group).InterfacesFor(g.GroupVersionUnderTest)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for fixing this!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@vishh
Copy link
Contributor

vishh commented Oct 30, 2015

LGTM.

@caesarxuchao
Copy link
Member

Probably you need to import it the install package in https://github.com/kubernetes/kubernetes/blob/master/pkg/master/import_known_versions.go as well. LGTM otherwise.

@timstclair
Copy link
Author

I think the first iteration (just Raw{Node,Pod,Container}) will only be served by the kubelet, so I don't think we want to import it to the master? What does importing to the master do?

@caesarxuchao
Copy link
Member

Per offline-discussion, master doesn't need to know the metric API, so no need to import it there. Thanks. LGTM.

@caesarxuchao caesarxuchao added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 30, 2015
@k8s-github-robot
Copy link

@k8s-bot test this [submit-queue is verifying that this PR is safe to merge]

@k8s-bot
Copy link

k8s-bot commented Oct 31, 2015

GCE e2e build/test failed for commit 2856973ce46d01691bd4b14fd5f8e9c54d2fd438.

@k8s-github-robot k8s-github-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 1, 2015
@wojtek-t
Copy link
Member

wojtek-t commented Nov 1, 2015

@timstclair - can you please rebase?

This commit only adds 2 placeholder structs to the API, for the purposes
of separating the API group setup from the API discussion.
@timstclair timstclair added lgtm "Looks good to me", indicates that a PR is ready to be merged. and removed lgtm "Looks good to me", indicates that a PR is ready to be merged. labels Nov 2, 2015
@timstclair
Copy link
Author

Rebased.

@k8s-github-robot k8s-github-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 2, 2015
@k8s-bot
Copy link

k8s-bot commented Nov 2, 2015

GCE e2e test build/test passed for commit 5cd5b80.

@timstclair
Copy link
Author

@k8s-bot unit test this

@lavalamp
Copy link
Member

lavalamp commented Nov 2, 2015

LGTM

@k8s-github-robot
Copy link

@k8s-bot test this [submit-queue is verifying that this PR is safe to merge]

@k8s-bot
Copy link

k8s-bot commented Nov 3, 2015

GCE e2e test build/test passed for commit 5cd5b80.

@k8s-github-robot
Copy link

Automatic merge from submit-queue

k8s-github-robot pushed a commit that referenced this pull request Nov 3, 2015
@k8s-github-robot k8s-github-robot merged commit f371b3d into kubernetes:master Nov 3, 2015
@timstclair timstclair deleted the metrics-lite branch August 31, 2016 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api Indicates an issue on api area. lgtm "Looks good to me", indicates that a PR is ready to be merged. sig/node Categorizes an issue or PR as relevant to SIG Node. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

10 participants