-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
hyperkube: add cloud-controller-manager #54197
hyperkube: add cloud-controller-manager #54197
Conversation
2a5257a
to
e284db2
Compare
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 might be too strict, but I´m not sure I wanna see the ccm being in hyperkube. I think that goes the wrong way (adding more deps on clouds rather than less)
The preferred way for clouds to do this should be to create their own binary with their own extensions ASAP. The ccm binary in-core is just a stop-gap.
That said, I see why it´s useful in the meantime, and we already build the binary in releases, creating images, etc. so we should probably be able to do this too.
@luxas I agree with both of your points. I assume that when CCM is removed from the tree, we would also remove it from |
Is there any way we could make this as |
Sure, let me take a look at doing so. Is there an existing example of this already? Thanks! |
e284db2
to
522fbc0
Compare
522fbc0
to
a49ce26
Compare
@luxas I hacked in an |
5292407
to
d54e3e2
Compare
/test pull-kubernetes-unit |
cmd/hyperkube/hyperkube.go
Outdated
if len(args) > 0 && len(args[0]) > 0 { | ||
serverName = args[0] | ||
args = args[1:] | ||
hk.Printf("Warning: alpha command syntax is unable!\n\n") |
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.
is unable to what?
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.
Took me a second, it's supposed to be an instability warning. s/unsable/unstable/g
. Will push a new commit and can squash at the end.
@@ -0,0 +1,39 @@ | |||
/* | |||
Copyright 2015 The Kubernetes Authors. |
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.
nit: 2017 :)
c33f719
to
519cb04
Compare
cmd/hyperkube/main.go
Outdated
hk.AddAlphaServer(NewCloudControllerManager()) | ||
|
||
// Alpha servers | ||
hk.AddAlphaServer(NewCloudControllerManager()) |
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.
Should this be here twice?
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.
No, it shouldn't. Maybe a rebase error? Fixed in a new commit. (Will squash)
@colemickens "alpha" command wiring is cool. I just have one comment. |
Assign back to me once it is LGTM'ed and ready for approval. |
519cb04
to
49cd7fc
Compare
@wlan0 Thanks for the review. Fixed the issue you caught and pushed a new commit. If it looks good, I'll squash. |
ready for approval @thockin |
/lgtm |
This needs an associated issue and a |
@thockin This is ready now with a link to a bug as you pointed out. PTAL |
/lgtm |
/approve no-issue |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: colemickens, thockin, wlan0 Associated issue: 55732 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here. |
What this PR does / why we need it:
Adds
cloud-controller-manager
tohyperkube
. (fix #55732)This is useful as a number of deployment tools run all of the kubernetes components from the
hyperkube
image/binary. It also makes testing easier as a single binary/image can be built and pushed quickly.This PR follows the same pattern of the other kubernetes binaries being available as part of
hyperkube
.(This PR also makes an error condition appropriately fatal.)
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): n/aSpecial notes for your reviewer: n/a
Release note:
/sig cluster-lifecycle
/area cloudprovider