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

cleanly execute scheduler and kubecontrollermanager via cobra command #18139

Merged
merged 5 commits into from
Jan 20, 2018

Conversation

deads2k
Copy link
Contributor

@deads2k deads2k commented Jan 17, 2018

I found the upstream bug that was preventing this before and fixed it.

After this pull, there is no direct rebase impact for kube controllers except the ones we directly extend. HPA, quota, and SA tokens come to mind.

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 17, 2018
@openshift-ci-robot openshift-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jan 17, 2018
@openshift-merge-robot openshift-merge-robot added the vendor-update Touching vendor dir or related files label Jan 17, 2018
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: deads2k

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 /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jan 18, 2018
@deads2k
Copy link
Contributor Author

deads2k commented Jan 18, 2018

/retest

2 similar comments
@deads2k
Copy link
Contributor Author

deads2k commented Jan 19, 2018

/retest

@deads2k
Copy link
Contributor Author

deads2k commented Jan 19, 2018

/retest

Copy link
Contributor

@soltysh soltysh left a comment

Choose a reason for hiding this comment

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

This lgtm, except for those 2 questions.

glog.Fatal(err)
}
glog.Infof("`kube-controller-manager %v`", args)
cmd.Run(nil, nil)
panic(fmt.Sprintf("`kube-controller-manager %v` exited", args))
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this intentional here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is this intentional here?

Yes. Because we can't re-init, we need to die. And if we loop, we'll want to know why

glog.Fatal(err)
}
glog.Infof("`kube-scheduler %v`", args)
cmd.Run(nil, nil)
glog.Fatalf("`kube-scheduler %v` exited", args)
Copy link
Contributor

Choose a reason for hiding this comment

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

Same question as above.

@soltysh
Copy link
Contributor

soltysh commented Jan 19, 2018

Are you planning to merge #18164 first and rebase this?

@deads2k
Copy link
Contributor Author

deads2k commented Jan 19, 2018

Are you planning to merge #18164 first and rebase this?

I think it lands without conflicts.

@deads2k deads2k added the lgtm Indicates that a PR is ready to be merged. label Jan 19, 2018
@openshift-merge-robot
Copy link
Contributor

Automatic merge from submit-queue (batch tested with PRs 18163, 18139, 18193, 18194, 16180).

@openshift-merge-robot openshift-merge-robot merged commit 471b23b into openshift:master Jan 20, 2018
@deads2k deads2k deleted the controller-20 branch January 24, 2018 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. vendor-update Touching vendor dir or related files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants