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

Refactorize EDL controller and autoscaler #579

Merged
merged 13 commits into from
Feb 5, 2018

Conversation

wangkuiyi
Copy link

@wangkuiyi wangkuiyi commented Feb 2, 2018

Fixes: #575

typhoonzero
typhoonzero previously approved these changes Feb 2, 2018
Copy link
Collaborator

@typhoonzero typhoonzero left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks very much for the code clean up!

// TrainingJobs string for registration
const TrainingJobs = "TrainingJobs"

// A TrainingJob is a Kubernetes resource, it describes a PaddlePaddle
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe put this in doc/autoscale/README.md and reference it from here?

Copy link
Collaborator

Choose a reason for hiding this comment

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

golint check fails:

# github.com/PaddlePaddle/cloud/go/edl
edl/cluster.go:53: undefined: NodeInfos
# github.com/PaddlePaddle/cloud/go/edl
edl/cluster.go:53: undefined: NodeInfos
# github.com/PaddlePaddle/cloud/go/utils/kubeutil
utils/kubeutil/kubeutil.go:34: undefined: "github.com/PaddlePaddle/cloud/go/edl/resource".RegisterTrainingJob

Copy link
Collaborator

@helinwang helinwang left a comment

Choose a reason for hiding this comment

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

LGTM!

@helinwang helinwang merged commit 7b1069c into PaddlePaddle:develop Feb 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants