constants

package
v0.8.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 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.
	VolcanoTaskSpecKey               = "volcano.sh/task-spec"

	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"
	// RoleInPlaceUpdateTargetHashAnnotationKey records the desired role template hash while a pod image is being updated in place.
	RoleInPlaceUpdateTargetHashAnnotationKey = "stormservice.orchestration.aibrix.ai/in-place-update-target-hash"
	// RoleInPlaceUpdateStateAnnotationKey records runtime container state captured before an in-place image update.
	RoleInPlaceUpdateStateAnnotationKey = "stormservice.orchestration.aibrix.ai/in-place-update-state"
	// RoleInPlaceUpdatePendingReasonAnnotationKey records why an in-place update has not completed yet.
	RoleInPlaceUpdatePendingReasonAnnotationKey = "stormservice.orchestration.aibrix.ai/in-place-update-pending-reason"
	// RoleInPlaceUpdateReadyCondition is an optional readiness gate condition set during in-place image updates.
	RoleInPlaceUpdateReadyCondition = "stormservice.orchestration.aibrix.ai/in-place-update-ready"
	// RoleSetHistoricalNodeBindingsAnnotationKey stores controller-owned historical node bindings for RoleSet replacement scheduling.
	RoleSetHistoricalNodeBindingsAnnotationKey = "orchestration.aibrix.ai/historical-node-bindings"

	RoleInPlaceUpdatePendingReasonPodNotReady            = "PodNotReady"
	RoleInPlaceUpdatePendingReasonContainerStatusMissing = "ContainerStatusMissing"
	RoleInPlaceUpdatePendingReasonContainerNotReady      = "ContainerNotReady"
	RoleInPlaceUpdatePendingReasonImageIDUnchanged       = "ImageIDUnchanged"
	// 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