-
Notifications
You must be signed in to change notification settings - Fork 123
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
create a separated debuggable scheduler container #350
create a separated debuggable scheduler container #350
Conversation
Hi @YamasouA. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
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.
/ok-to-test
Will take a look during GW
@@ -49,7 +49,7 @@ func CreateOptionForOutOfTreePlugin(outOfTreePluginRegistry runtime.Registry, pl | |||
|
|||
var versionedcfg *v1.KubeSchedulerConfiguration | |||
var err error | |||
if configFile == nil { | |||
if configFile == nil || *configFile == "" { |
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.
Can you make a separate PR for this line change?
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.
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.
/ok-to-test
/retitle create a separated debuggable scheduler container
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 reverts commit 638c117.
simulator/docs/running-simulator.md
Outdated
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.
Replace L1-L8 with -
## Running simulator
The simulator requires docker installed in your laptop.
We have [docker-compose.yml](../../docker-compose.yml) to run the simulator easily.
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 replaced text
9f03809
simulator/cmd/scheduler/scheduler.go
Outdated
func main() { | ||
command, cancelFn, err := debuggablescheduler.NewSchedulerCommand() | ||
if err != nil { | ||
klog.Info(fmt.Sprintf("failed to build the scheduler command: %+v", err)) |
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.
klog.Info(fmt.Sprintf("failed to build the scheduler command: %+v", err)) | |
klog.Info(fmt.Sprintf("failed to build the debuggablescheduler command: %+v", err)) |
/kind feature |
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.
/lgtm
/approve
Thanks :)
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sanposhiho, YamasouA The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/area simulator
/kind cleanup
What this PR does / why we need it:
I try to Separate API endpoints and Scheduler.
This PR can build debuggablescheduler Pod.
(But still not work. Only build)
After this PR I try to delete scheduler functions from Server and change endpoints functions to operate scheduler Pod.
Which issue(s) this PR fixes:
Fixes #318
Special notes for your reviewer:
/label tide/merge-method-squash