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

duplicate kube-apiserver to federated-apiserver #23509

Merged
merged 2 commits into from
Apr 2, 2016
Merged

duplicate kube-apiserver to federated-apiserver #23509

merged 2 commits into from
Apr 2, 2016

Conversation

jianhuiz
Copy link
Contributor

duplicate the kube-apiserver source code to ube-apiserver and update references
cluster specific api objects will be in separate PRs
#19313, #21190

#21190 (comment)
@nikhiljindal

@k8s-bot
Copy link

k8s-bot commented Mar 25, 2016

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")

This message may repeat a few times in short succession due to jenkinsci/ghprb-plugin#292. Sorry.

Otherwise, if this message is too spammy, please complain to ixdy.

2 similar comments
@k8s-bot
Copy link

k8s-bot commented Mar 25, 2016

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")

This message may repeat a few times in short succession due to jenkinsci/ghprb-plugin#292. Sorry.

Otherwise, if this message is too spammy, please complain to ixdy.

@k8s-bot
Copy link

k8s-bot commented Mar 25, 2016

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")

This message may repeat a few times in short succession due to jenkinsci/ghprb-plugin#292. Sorry.

Otherwise, if this message is too spammy, please complain to ixdy.

@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 Mar 25, 2016
@nikhiljindal
Copy link
Contributor

Am curious if you tried using the code as in https://github.com/kubernetes/kubernetes/blob/master/examples/apiserver/apiserver.go?

Ref #21190 (comment)

@jianhuiz
Copy link
Contributor Author

@nikhiljindal I'm aware of that piece of code, and I wouldn't mind starting a brand new ube-apiserver. I guess I didn't explain my self clearly, the problem is that ube-apiserver is meant to be compatible with kube-apiserver, which means in the end there has to be some kind of reuse/sync of these two apiservers. I prefer coping kube-apiserver for now is that I can focus on the api objects instead of getting distracted of all the details such as the options/configs of the apiserver it self.

@nikhiljindal
Copy link
Contributor

ok thats reasonable. I can work on reducing the code duplication while you can work on ubernetes API objects.
Thanks for moving the code to federation directory.

ube-apiserver doesnt look like the right name.
Maybe rename to just apiserver since it is already under federation directory? federated-apiserver will be long.

@kubernetes/sig-api-machinery @kubernetes/sig-cluster-federation

@nikhiljindal
Copy link
Contributor

@k8s-bot ok to test

@k8s-bot
Copy link

k8s-bot commented Mar 29, 2016

GCE e2e build/test failed for commit 442ca923d63e1b4f8ef8b00caf529cb06d8aba19.

Please reference the list of currently known flakes when examining this failure. If you request a re-test, you must reference the issue describing the flake.

@jianhuiz
Copy link
Contributor Author

Thanks @nikhiljindal.
I agree that federated-apiserver will be long, what about fed-apiserver, and fed-xxx for other components?
BTW, it appears that the kube-api had changed just yesterday, I'll merge those changes and update the PR.

@smarterclayton
Copy link
Contributor

smarterclayton commented Mar 29, 2016 via email

@k8s-bot
Copy link

k8s-bot commented Mar 29, 2016

GCE e2e build/test failed for commit 7ad455d1ad0f76a6948c16843afb5fe278053256.

Please reference the list of currently known flakes when examining this failure. If you request a re-test, you must reference the issue describing the flake.

@lavalamp
Copy link
Member

I would call it uber-apiserver personally. I prefer "federated-apiserver" to "fed-apiserver" (we use abbreviations very rarely).

@nikhiljindal
Copy link
Contributor

If long name is not a concern than federated-apiserver seems best.

@jianhuiz
Copy link
Contributor Author

it was uber-apiserver in the very first PR however suggested to be changed to ube-apiserver because of kube ube consistency.
federated-apiserver seemed long to me personally because I find the long federated- prefix distracting (after all an apiserver it is) and slows me down when reading and looking for it.
however as long as you are all agreed to use federated-apiserver, I'll update the PR soon.

@smarterclayton
Copy link
Contributor

Since we call the other binaries kube-* I'm not morally opposed to
uber-*. But then, I'd probably rename kube-apiserver if it could.

@ghost
Copy link

ghost commented Mar 30, 2016

Since we're voting on names :-) I'm generally more in favor of semantic rather than brand names in code, because it reduces cognitive overhead. So "federated..." in preference to "ubernetes..." or "...ube". Regarding the name length concern, it seems that in most cases this can be addressed by importing it as a shorter name (e.g. "fed") where desired.

So to cast my vote, I'm with Nikhil on "federated-apiserver". But I don't feel strongly enough about it to veto some other majority view.

@jianhuiz jianhuiz changed the title duplicate kube-apiserver to ube-apiserver duplicate kube-apiserver to federated-apiserver Mar 30, 2016
@nikhiljindal
Copy link
Contributor

Thanks for renaming to federated-apiserver.
LGTM.

@nikhiljindal nikhiljindal added lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-merge labels Mar 30, 2016
@k8s-bot
Copy link

k8s-bot commented Mar 30, 2016

GCE e2e build/test passed for commit ca72bba.

@eparis eparis added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Mar 31, 2016
@k8s-github-robot
Copy link

@k8s-bot test this

Tests are more than 48 hours old. Re-running tests.

@k8s-bot
Copy link

k8s-bot commented Apr 1, 2016

GCE e2e build/test passed for commit ca72bba.

@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 Apr 2, 2016

GCE e2e build/test passed for commit ca72bba.

@k8s-github-robot
Copy link

Automatic merge from submit-queue

@k8s-github-robot k8s-github-robot merged commit b3eef93 into kubernetes:master Apr 2, 2016
k8s-github-robot pushed a commit that referenced this pull request Apr 21, 2016
Automatic merge from submit-queue

update hack/build-go to build federation/cmd/federated-apiserver as well

federation/cmd/federated-apiserver was added in #23509

cc @jianhuiz
@nikhiljindal nikhiljindal mentioned this pull request May 5, 2016
20 tasks
openshift-publish-robot pushed a commit to openshift/kubernetes that referenced this pull request Jul 31, 2019
UPSTREAM: <carry>: UT that checks if ResourceQuota is before ClusterR…

Origin-commit: 3e8d99cff3a4948fe6ef3bed4f077cc0c34962f2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. 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.

10 participants