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"
@ -50,7 +54,7 @@ const PodPreemptable = "volcano.sh/preemptable"
// Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
const CooldownTime = "volcano.sh/cooldown-time"
//RevocableZone is the key of revocable-zone
// RevocableZone is the key of revocable-zone
const RevocableZone = "volcano.sh/revocable-zone"
// JDBMinAvailable is the key of min available pod number