-
Notifications
You must be signed in to change notification settings - Fork 77
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
Conversation
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! 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 |
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.
Maybe put this in doc/autoscale/README.md
and reference it from 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.
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
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!
Fixes: #575