constants

package
v0.1.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// FinalizerPodCliqueSet is the finalizer for PodCliqueSet that is added to `.metadata.finalizers[]` slice. This will be placed on all PodCliqueSet resources
	// during reconciliation. This finalizer is used to clean up resources that are created for a PodCliqueSet when it is deleted.
	FinalizerPodCliqueSet = "grove.io/podcliqueset.grove.io"
	// FinalizerPodClique is the finalizer for PodClique that is added to `.metadata.finalizers[]` slice. This will be placed on all PodClique resources
	// during reconciliation. This finalizer is used to clean up resources that are created for a PodClique when it is deleted.
	FinalizerPodClique = "grove.io/podclique.grove.io"
	// FinalizerPodCliqueScalingGroup is the finalizer for PodCliqueScalingGroup that is added to `.metadata.finalizers[]` slice.
	// This will be placed on all PodCliqueScalingGroup resources during reconciliation. This finalizer is used to clean up resources
	// that are created for a PodCliqueScalingGroup when it is deleted.
	FinalizerPodCliqueScalingGroup = "grove.io/podcliquescalinggroup.grove.io"
)

Constants for finalizers.

View Source
const (
	// EnvVarPodCliqueSetName is the environment variable name for PodCliqueSet name
	EnvVarPodCliqueSetName = "GROVE_PCS_NAME"
	// EnvVarPodCliqueSetIndex is the environment variable name for PodCliqueSet replica index
	EnvVarPodCliqueSetIndex = "GROVE_PCS_INDEX"
	// EnvVarPodCliqueName is the environment variable name for PodClique name
	EnvVarPodCliqueName = "GROVE_PCLQ_NAME"
	// EnvVarHeadlessService is the environment variable name for headless service address
	EnvVarHeadlessService = "GROVE_HEADLESS_SERVICE"
	// EnvVarPodIndex is the environment variable name for pod index within PodClique
	EnvVarPodIndex = "GROVE_PCLQ_POD_INDEX"
	// EnvVarPodCliqueScalingGroupName is the environment variable name for PodCliqueScalingGroup name
	EnvVarPodCliqueScalingGroupName = "GROVE_PCSG_NAME"
	// EnvVarPodCliqueScalingGroupIndex is the environment variable name for PodCliqueScalingGroup replica index
	EnvVarPodCliqueScalingGroupIndex = "GROVE_PCSG_INDEX"
	// EnvVarPodCliqueScalingGroupTemplateNumPods is the environment variable name for total number of pods in PodCliqueScalingGroup template
	EnvVarPodCliqueScalingGroupTemplateNumPods = "GROVE_PCSG_TEMPLATE_NUM_PODS"
)

Constants for Grove environment variables

View Source
const (
	// EventReconciling is the event type which indicates that the reconcile operation has started.
	EventReconciling = "Reconciling"
	// EventReconciled is the event type which indicates that the reconcile operation has completed successfully.
	EventReconciled = "Reconciled"
	// EventReconcileError is the event type which indicates that the reconcile operation has failed.
	EventReconcileError = "ReconcileError"
	// EventDeleting is the event type which indicates that the delete operation has started.
	EventDeleting = "Deleting"
	// EventDeleted is the event type which indicates that the delete operation has completed successfully.
	EventDeleted = "Deleted"
	// EventDeleteError is the event type which indicates that the delete operation has failed.
	EventDeleteError = "DeleteError"
)
View Source
const (
	// ConditionTypeMinAvailableBreached indicates that the minimum number of ready pods in the PodClique are below the threshold defined in the PodCliqueSpec.MinAvailable threshold.
	ConditionTypeMinAvailableBreached = "MinAvailableBreached"
	// ConditionTypePodCliqueScheduled indicates that the PodClique has been successfully scheduled.
	// This condition is set to true when number of scheduled pods in the PodClique is greater than or equal to PodCliqueSpec.MinAvailable.
	ConditionTypePodCliqueScheduled = "PodCliqueScheduled"
)

Constants for Condition Types

View Source
const (
	// ConditionReasonInsufficientReadyPods indicates that the number of ready pods in the PodClique is below the threshold defined in the PodCliqueSpec.MinAvailable threshold.
	ConditionReasonInsufficientReadyPods = "InsufficientReadyPods"
	// ConditionReasonSufficientReadyPods indicates that the number of ready pods in the PodClique is above the threshold defined in the PodCliqueSpec.MinAvailable threshold.
	ConditionReasonSufficientReadyPods = "SufficientReadyPods"
	// ConditionReasonInsufficientScheduledPods indicates that the number of scheduled pods in the PodClique is below the threshold defined in the PodCliqueSpec.MinAvailable threshold.
	ConditionReasonInsufficientScheduledPods = "InsufficientScheduledPods"
	// ConditionReasonSufficientScheduledPods indicates that the number of scheduled pods in the PodClique greater or equal to PodCliqueSpec.MinAvailable.
	ConditionReasonSufficientScheduledPods = "SufficientScheduledPods"
	// ConditionReasonInsufficientScheduledPCSGReplicas indicates that the number of scheduled replicas in the PodCliqueScalingGroup is below the PodCliqueScalingGroupSpec.MinAvailable.
	ConditionReasonInsufficientScheduledPCSGReplicas = "InsufficientScheduledPodCliqueScalingGroupReplicas"
	// ConditionReasonInsufficientAvailablePCSGReplicas indicates that the number of ready replicas in the PodCliqueScalingGroup is below the PodCliqueScalingGroupSpec.MinAvailable.
	ConditionReasonInsufficientAvailablePCSGReplicas = "InsufficientAvailablePodCliqueScalingGroupReplicas"
	// ConditionReasonSufficientAvailablePCSGReplicas indicates that the number of ready replicas in the PodCliqueScalingGroup is greater than or equal to the PodCliqueScalingGroupSpec.MinAvailable.
	ConditionReasonSufficientAvailablePCSGReplicas = "SufficientAvailablePodCliqueScalingGroupReplicas"
	// ConditionReasonUpdateInProgress indicates that the resource is undergoing rolling update.
	ConditionReasonUpdateInProgress = "UpdateInProgress"
)

Constants for Condition Reasons.

View Source
const (
	// KindPodCliqueSet is the kind for a PodCliqueSet resource.
	KindPodCliqueSet = "PodCliqueSet"
	// KindPodClique is the kind for a PodClique resource.
	KindPodClique = "PodClique"
	// KindPodCliqueScalingGroup is the kind for a PodCliqueScalingGroup resource.
	KindPodCliqueScalingGroup = "PodCliqueScalingGroup"
)
View Source
const (
	// AnnotationDisableManagedResourceProtection is an annotation set by an operator on a PodCliqueSet to explicitly
	// disable protection of managed resources for a PodCliqueSet.
	AnnotationDisableManagedResourceProtection = "grove.io/disable-managed-resource-protection"
)

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