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

dev/echo/support rescheduling #53

Merged
merged 3 commits into from
Aug 13, 2024

Conversation

XinyiSong
Copy link
Collaborator

No description provided.

@CLAassistant
Copy link

CLAassistant commented Jun 12, 2024

CLA assistant check
All committers have signed the CLA.

@XinyiSong XinyiSong force-pushed the dev/echo/support-rescheduling branch from cc5cbea to 5d01f0f Compare June 13, 2024 12:06
@XinyiSong XinyiSong force-pushed the dev/echo/support-rescheduling branch 3 times, most recently from 99dfdaa to 60615aa Compare July 15, 2024 09:39
Copy link
Member

@binacs binacs left a 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


NotScheduledPodKeysByTemplateKey = "NotScheduledPodKeysByTemplate"

PostNodeCircleSchedulingFuncKey = "PostNodeCircleSchedulingFunc"
Copy link
Member

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

fixed


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"
Copy link
Member

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)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

fixed

return nil, fmt.Errorf("post nodeCircle scheduling func not found")
}

func RunPostNodeCircleSchedulingFunc(unitState *CycleState, nodeCircle NodeCircle, pod *v1.Pod, suggesstHost string, err error) {
Copy link
Contributor

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

fixed

@XinyiSong XinyiSong force-pushed the dev/echo/support-rescheduling branch 2 times, most recently from 4c006fb to 3aa0129 Compare July 30, 2024 12:39
@XinyiSong XinyiSong force-pushed the dev/echo/support-rescheduling branch from 3aa0129 to 0fad9e8 Compare July 30, 2024 12:52
Copy link
Member

@binacs binacs left a comment

Choose a reason for hiding this comment

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

lgtm

@NickrenREN NickrenREN merged commit e54718b into kubewharf:main Aug 13, 2024
5 checks passed
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.

5 participants