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

add minAvailable anno key #154

Merged

Conversation

sceneryback
Copy link
Contributor

Part changes of volcano-sh/volcano#4000

@volcano-sh-bot
Copy link
Collaborator

Welcome @sceneryback!

It looks like this is your first PR to volcano-sh/apis.

Thank you, and welcome to Volcano. 😃

@sceneryback
Copy link
Contributor Author

/assign @hzxuzhonghu

@@ -35,6 +35,10 @@ const KubeGroupNameAnnotationKey = "scheduling.k8s.io/group-name"
// which PodGroup it belongs to.
const VolcanoGroupNameAnnotationKey = GroupName + "/group-name"

// VolcanoGroupMinAvailableAnnotationKey is the annotation key of Pod controllers (e.g. Deployment) to identify
// the minimum available member of PodGroup.
const VolcanoGroupMinAvailableAnnotationKey = GroupName + "/minAvailable"
Copy link
Member

@hwdef hwdef Feb 8, 2025

Choose a reason for hiding this comment

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

I prefer minMember here.
We had some discussion in
volcano-sh/volcano#3970 (comment)
volcano-sh/volcano#3970 (comment)
@Monokaix @JesseStutler @lowang-bh
What do you think?

Copy link
Member

Choose a reason for hiding this comment

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

Yes, I think minMember is easily associated with podgroup's minMember for user.

Copy link
Contributor Author

@sceneryback sceneryback Feb 8, 2025

Choose a reason for hiding this comment

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

hi @hwdef @lowang-bh what about 'scheduling.volcano.sh/group-min-member'? So users would easily know it's designed for PodGroup, just as the existing one 'scheduling.volcano.sh/group-min-resources'

Copy link
Member

Choose a reason for hiding this comment

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

Yes, it's OK.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, it's OK.

Updated

@sceneryback sceneryback force-pushed the labels_add_minAvailable branch from 72a5ae5 to 97e5eec Compare February 10, 2025 08:14
Copy link
Member

@hwdef hwdef 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!

@hwdef
Copy link
Member

hwdef commented Feb 11, 2025

PTAL @JesseStutler @Monokaix

@Monokaix
Copy link
Member

/lgtm

Copy link
Member

@william-wang william-wang left a comment

Choose a reason for hiding this comment

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

/approve

@volcano-sh-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: william-wang

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@volcano-sh-bot volcano-sh-bot merged commit 7f8222e into volcano-sh:master Feb 11, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants