add group-min-member annotation

Signed-off-by: sceneryback <afterbreeze@hotmail.com>
This commit is contained in:
sceneryback 2025-02-08 10:44:05 +08:00
parent bf27f4e986
commit 97e5eec1f7
1 changed files with 5 additions and 1 deletions

View File

@ -35,6 +35,10 @@ const KubeGroupNameAnnotationKey = "scheduling.k8s.io/group-name"
// which PodGroup it belongs to.
const VolcanoGroupNameAnnotationKey = GroupName + "/group-name"
// VolcanoGroupMinMemberAnnotationKey is the annotation key of Pod controllers (e.g. Deployment) to identify
// the minimum member of PodGroup.
const VolcanoGroupMinMemberAnnotationKey = GroupName + "/group-min-member"
// VolcanoGroupMinResourcesAnnotationKey is the annotation key of PodGroup's PodGroup.Spec.MinResources
// which PodGroup it belongs to.
const VolcanoGroupMinResourcesAnnotationKey = GroupName + "/group-min-resources"