constants

package
v0.6.0-rc.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2026 License: Apache-2.0 Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	GodelPodGroupNameAnnotationKey   = "godel.bytedance.com/pod-group-name"
	CoschedulingPodGroupNameLabelKey = "scheduling.x-k8s.io/pod-group"
	VolcanoPodGroupNameAnnotationKey = "scheduling.k8s.io/group-name" // Aligns with the standard Kubernetes PodGroup annotation for gang scheduling.

	RoleSetNameLabelKey          = "roleset-name"
	StormServiceNameLabelKey     = "storm-service-name"
	StormServiceRevisionLabelKey = "storm-service-revision"
	RoleNameLabelKey             = "role-name"
	RoleTemplateHashLabelKey     = "role-template-hash"
	RoleReplicaIndexLabelKey     = "stormservice.orchestration.aibrix.ai/role-replica-index"
	PodSetNameLabelKey           = "stormservice.orchestration.aibrix.ai/podset-name"
	PodGroupIndexLabelKey        = "stormservice.orchestration.aibrix.ai/pod-group-index"
	// RoleRevisionLabelKey tracks the ControllerRevision number for a specific role (on pods)
	RoleRevisionLabelKey = "stormservice.orchestration.aibrix.ai/role-revision"
	// RoleRevisionNameLabelKey tracks the ControllerRevision name for a specific role (on pods)
	RoleRevisionNameLabelKey = "stormservice.orchestration.aibrix.ai/role-revision-name"

	RoleSetIndexAnnotationKey    = "stormservice.orchestration.aibrix.ai/roleset-index"
	RoleSetRevisionAnnotationKey = "stormservice.orchestration.aibrix.ai/revision"
	// RoleReplicaIndexAnnotationKey is originally used, to support label filter rank 0 pod, we add label support but keep this annotation for backward compatibility.
	RoleReplicaIndexAnnotationKey = "stormservice.orchestration.aibrix.ai/role-replica-index"
	// RoleRevisionAnnotationPrefix is used to store per-role revision info in RoleSet annotations
	// Example: "stormservice.orchestration.aibrix.ai/role-revision.decode" = "3"
	RoleRevisionAnnotationPrefix     = "stormservice.orchestration.aibrix.ai/role-revision"
	RoleRevisionNameAnnotationPrefix = "stormservice.orchestration.aibrix.ai/role-revision-name"

	StormServiceNameEnvKey = "STORM_SERVICE_NAME"
	RoleSetNameEnvKey      = "ROLESET_NAME"
	RoleSetIndexEnvKey     = "ROLESET_INDEX"
	RoleNameEnvKey         = "ROLE_NAME"
	RoleReplicaIndexEnvKey = "ROLE_REPLICA_INDEX"
	RoleTemplateHashEnvKey = "ROLE_TEMPLATE_HASH"
	PodSetNameEnvKey       = "PODSET_NAME"
	PodSetIndexEnvKey      = "POD_GROUP_INDEX"
	PodSetSizeEnvKey       = "POD_GROUP_SIZE"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL