-
Notifications
You must be signed in to change notification settings - Fork 78
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
dev/echo/support rescheduling #53
dev/echo/support rescheduling #53
Conversation
cc5cbea
to
5d01f0f
Compare
99dfdaa
to
60615aa
Compare
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.
just some nits, and it seems that rebase is needed
pkg/framework/api/common_state.go
Outdated
|
||
NotScheduledPodKeysByTemplateKey = "NotScheduledPodKeysByTemplate" | ||
|
||
PostNodeCircleSchedulingFuncKey = "PostNodeCircleSchedulingFunc" |
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.
nit: this is a temporary solution (for metrics) and should not be migrated to the open source repo
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.
fixed
pkg/framework/api/movement_test.go
Outdated
|
||
schedulingv1a1 "github.com/kubewharf/godel-scheduler-api/pkg/apis/scheduling/v1alpha1" | ||
"github.com/kubewharf/godel-scheduler/pkg/util/generationstore" | ||
podutil "github.com/kubewharf/godel-scheduler/pkg/util/pod" |
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.
nit: format this (separate from k8s pkg)
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.
fixed
pkg/framework/api/common_state.go
Outdated
return nil, fmt.Errorf("post nodeCircle scheduling func not found") | ||
} | ||
|
||
func RunPostNodeCircleSchedulingFunc(unitState *CycleState, nodeCircle NodeCircle, pod *v1.Pod, suggesstHost string, err error) { |
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 parameter err
here will be overwritten in the if
block, And it has been fixed in the latest version
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.
fixed
4c006fb
to
3aa0129
Compare
3aa0129
to
0fad9e8
Compare
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
No description provided.