Documentation
¶
Index ¶
Constants ¶
View Source
const ( ProjectName = "piraeus-datastore" OperatorName = "piraeus-operator" Domain = "piraeus.io" )
View Source
const ( FieldOwner = Domain + "/operator" ApplyAnnotation = Domain + "/last-applied" NodeInterfaceAnnotation = Domain + "/configured-interfaces" ManagedByLabel = Domain + "/managed-by" AppliedConfigurationAnnotation = Domain + "/applied-configurations" SatelliteNodeLabel = Domain + "/linstor-satellite" SatelliteFinalizer = Domain + "/satellite-protection" EvacuationActionAnnotation = linstorcsi.DriverName + "/evacuation-action" MachinePreDrainHookAnnotation = clusterapiv1beta1.PreDrainDeleteHookAnnotationPrefix + "/linstor-prepare-for-drain" MachinePreTerminateHookAnnotation = clusterapiv1beta1.PreTerminateDeleteHookAnnotationPrefix + "/linstor-wait-for-complete-evacuation" GenCertLeaderElectionID = OperatorName + "-gencert" // PersistentVolumeWaitForReattachAnnotationPrefix is the annotation on the PV used during node evacuation to // indicate that the PV needs to attached on another node before executing the actual LINSTOR Node evacuation. // The value is "true" if the volume was actually attached at the start of the evacuation, "false" if not. PersistentVolumeWaitForReattachAnnotationPrefix = "wait-for-reattach.evacuation." + Domain // PersistentVolumeWaitForReattachSinceAnnotationPrefix is the annotation on the PV used during node evacuation to // store the timestamp of the start of the "wait-for-reattach" phase, used to calculate the timeout. PersistentVolumeWaitForReattachSinceAnnotationPrefix = "wait-for-reattach-since.evacuation." + Domain )
Variables ¶
View Source
var ( Version = "2.0.0" ExtraLabels = map[string]string{ "app.kubernetes.io/version": Version, "app.kubernetes.io/managed-by": OperatorName, } FallbackAPIVersion = utils.APIVersion{ Major: 1, Minor: 20, } )
View Source
var DefaultControllerProperties = map[string]string{ linstor.NamespcDrbdNetOptions + "/rr-conflict": "retry-connect", linstor.NamespcDrbdResourceOptions + "/on-suspended-primary-outdated": "force-secondary", linstor.NamespcDrbdResourceOptions + "/on-no-data-accessible": "suspend-io", linstor.NamespcDrbdResourceOptions + "/on-no-quorum": "suspend-io", linstor.NamespcDrbdOptions + "/AutoEvictAllowEviction": "false", }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.