-
Notifications
You must be signed in to change notification settings - Fork 39.9k
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
Sync node status from node controller to master. #3733
Conversation
a2413f6
to
95f17e9
Compare
95f17e9
to
8932f6b
Compare
@@ -102,6 +106,10 @@ func main() { | |||
controllerManager := replicationControllerPkg.NewReplicationManager(kubeClient) | |||
controllerManager.Run(10 * time.Second) | |||
|
|||
kubeletClient, err := client.NewKubeletClient(&kubeletConfig) |
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.
The apiserver does:
client.BindKubeletClientConfigFlags(flag.CommandLine, &kubeletConfig)
Is that done somewhere here?
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.
nop, updated.
Status: api.ConditionFull, | ||
}) | ||
} | ||
glog.V(2).Infof("NodeController: node %q status was %+v", node.Name, conditions) |
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 should be V(5) or higher. It's too spammy to leave enabled by default.
Cool. Happy to see this. Thanks. |
71d2ef3
to
9d62942
Compare
As mentioned in one of the inline comment, I accidentally pushed an older working commit to the PR. However, much of the structure are the same. Comment addressed. PTAL. |
LGTM. |
Rerunning travis. |
#3695 was merged. |
#3818 was merged, also. Please rebase. |
@bgrant0607 will rebase after work EDIT: get off work |
9d62942
to
6788b09
Compare
Rebased. PTAL. Also e2e passed with latest e2e fixes. |
Thanks. LGTM. |
Waiting for another travis run before merging. |
Sorry, @ddysher. Needs another rebase, apparently. |
6788b09
to
fc67f0f
Compare
fc67f0f
to
c793c4f
Compare
ok, resolved two conflicts |
Thanks, @ddysher. Yes, 409 is the right error code for updates. LGTM. Will first first thing in the morning. |
Sync node status from node controller to master.
Part of kubernetes#108. Also: * Added hyperkube cmd (not built by default yet). * Added version support to hyperkube * Remove health_check_minions flag from apiserver as it is no longer used with kubernetes#3733
Can we merge this now (after a rebase)? |
This was merged days ago. Wrong PR? |
@bgrant0607 @lavalamp @smarterclayton @erictune @brendandburns
e2e passes, I may pick up this issue #3520 if I can set up some time