package
0.0.0-20240815173558-303cc3735024
Repository: https://github.com/libopenstorage/operator.git
Documentation: pkg.go.dev

# Constants

AnnotationClusterAPIMachine is the annotation key name for the name of the machine that's backing the k8s node.
AnnotationCommonImageRegistries annotation contains the common image registries, separated by comma.
AnnotationControllerRevisionHashKey has the controller revision hash for which a VM live migration was triggered.
AnnotationCordonedRestartDelay is the annotation key name for the duration (in seconds) to wait before restarting the storage pods.
AnnotationDisableStorage annotation to disable the storage pods from running (default: false).
AnnotationEvictVMsDuringUpdate is the annotation to let operator evict VMs during upgrade.
AnnotationForceContinueUpdate annotation to force continue paused updates of storage pods (default: false).
AnnotationGarbageCollection is the annotation to let operator clean up external objects on uninstallation.
AnnotationMigrationApproved is used to take user's approval for portworx migration from old installation method to the operator managed method.
AnnotationNodeLabels is the storage pod annotation that contains node labels.
AnnotationOpenshiftRequiredSCC is the annotation for the required SCC (Security Context Constraints) in OpenShift.
AnnotationPauseComponentMigration is used to control when to start component migration.
AnnotationPodSafeToEvict annotation tells cluster autoscaler whether the pod is safe to be evicted when scaling down a node.
AnnotationReconcileObject annotation to toggle reconciliation of operator created objects.
AnnotationUnschedulable tells Stork to consider the node unschedulable.
AnnotationVMIMigrationSourceNode has the source node for the VM live migration triggered by the operator.
DefaultCordonedRestartDelay initial duration for which the operator should not try to restart pods after the node is cordoned.
LabelKeyClusterName is the name of the label key for the cluster name.
LabelKeyDriverName is the name of the label key for the storage driver for the cluster.
LabelKeyKVDBPod is the name of the key for the label on the pod that indicates it's on a KVDB node.
LabelKeyStoragePod is the name of the key for the label on the pod that indicates it's on a storage node.
LabelPortworxDaemonsetMigration is used as Kubernetes node label to mark the state of the node wrt portworx daemonSet migration.
LabelValueMigrationDone state in which migration of portworx pod has finished on that node.
LabelValueMigrationInProgress state in which migration is about to start the operator managed portworx pod.
LabelValueMigrationPending state in which migration is pending and daemonset pod still runs.
LabelValueMigrationSkip state telling the operator to skip and not wait for portworx to be ready on that node.
LabelValueMigrationStarting state in which migration is about to start but waiting for daemonset pod to be removed.
LabelValueTrue is the constant for a "true" label value.
MaxCordonedRestartDelay maximum duration for which the operator should not try to restart pods after the node is cordoned.
OperatorLabelManagedByKey is a label key that is added to any object that is managed the Portworx operator.
OperatorLabelManagedByValue indicates that the object is managed by portworx.
OperatorLabelNodeNameKey holds the value of the kubernetes node on whcih the portworx pod is running Used for creating a Node PDB.
OperatorPrefix is a prefix to use for annotations added by the operator.
PhaseAwaitingApproval status when operator is waiting for user approval for migration.
PhaseMigrationInProgress status when migration is in progress.
PortworxDaemonSetName name of portworx DaemonSet.
PrivilegedPSPName is a pod security policy used for portworx deployments which use privileged security context.
RestrictedPSPName is a pod security policy used by portworx deployments which require no special privileges and capabilities.

# Variables

KnownStoragePodAnnotations contains annotations that will be retained when adding custom storage pod annotations.