-
Notifications
You must be signed in to change notification settings - Fork 994
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
Modify scheduling events for pod and podgroup #520
Conversation
c205534
to
e19c365
Compare
Hey @sivanzcw, TravisBuddy Request Identifier: f77127f0-02d1-11ea-bbb5-2bfb3cbbfe32 |
type PodGroupSchedulingStatus string | ||
|
||
const ( | ||
// PodGroupReady is that PodGroup has reached scheduling restriction |
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.
scheduling condition or scheduling requirement?
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.
changed to PodGroupConditionDetail
according to type of events PodGroupConditionType
PodGroupUnschedulableType PodGroupConditionType = "Unschedulable" | ||
|
||
// PodGroupScheduled is scheduled event type | ||
PodGroupScheduled PodGroupConditionType = "Scheduled" |
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.
Add to both v1alpha1 and v1alpha2 types.go?
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.
done
pkg/apis/scheduling/types.go
Outdated
// PodGroupReady is that PodGroup has reached scheduling restriction | ||
PodGroupReady PodGroupSchedulingStatus = "pod group is ready" | ||
// PodGroupNotReady is that PodGroup has not yet reached the scheduling restriction | ||
PodGroupNotReady PodGroupSchedulingStatus = "pod group is not ready" |
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.
Same applies
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.
done
Hey @sivanzcw, TravisCI finished with status TravisBuddy Request Identifier: ad4d2c40-0467-11ea-8ac3-8db289d111a9 |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: k82cn, sivanzcw 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 |
Hey @sivanzcw, TravisBuddy Request Identifier: a45b6ac0-04f3-11ea-9b49-e31b2b39913b |
/lgtm |
#519
Change
job is not ready
topod group is not ready
If status of podgroup is inqueue, record unschedulable events for podgroup
record scheduled events for podgroup during bind pod to node
events of pod will be like
events for podgroup will be like: