Documentation
¶
Index ¶
Constants ¶
View Source
const ( DevDir = "/dev/" DevDirName = "device-dir" LinstorConfDir = "/etc/linstor" LinstorConfDirName = "linstor-conf" ModulesDir = "/lib/modules/" // "/usr/lib/modules/" ModulesDirName = "modules-dir" SrcDir = "/usr/src" SrcDirName = "src-dir" )
Shared consts common to container volumes.
View Source
const ( LinstorKernelModHow = "LB_HOW" LinstorKernelModCompile = "compile" LinstorKernelModShippedModules = "shipped_modules" )
Special strings for communicating with the module injector
View Source
const ( // PiraeusCSPriorityClassName is the name of the PriorityClass for the // controller set. PiraeusCSPriorityClassName = "piraeus-cs-priority-class" // PiraeusNSPriorityClassName is the name of the PriorityClass for the // node set. PiraeusNSPriorityClassName = "piraeus-ns-priority-class" // PiraeusControllerImage is the repo/tag for linstor-server PiraeusControllerImage = "quay.io/piraeusdatastore/piraeus-server" // PiraeusControllerVersion must match PiraeusSatelliteVersion since the // linstor controller and satellite versions must also match exactly PiraeusControllerVersion = "v1.4.2" // PiraeusSatelliteImage is the repo/tag for LINSTOR Satellite contaier. PiraeusSatelliteImage = "quay.io/piraeusdatastore/piraeus-server" // PiraeusSatelliteVersion is the release tag for the above image PiraeusSatelliteVersion = "v1.4.2" // PiraeusKernelModImage is the worker (aka satellite) image for each node PiraeusKernelModImage = "quay.io/piraeusdatastore/drbd9-centos7" // PiraeusKernelModVersion is the release tag for the above image PiraeusKernelModVersion = "v9.0.21" // DrbdRepoCred is the name of the kubernetes secret that holds the repo // credentials for the DRBD related repositories DrbdRepoCred = "drbdiocred" )
Fallback config values
View Source
const ( // APIGroup specifies the group for the custom resource definition APIs APIGroup = "piraeus.linbit.com" // PiraeusNode label to mark nodes eligible to run piraeus-node pods PiraeusNode = "linstor.linbit.com/piraeus-node" // ControllerRole is the role for the controller set ControllerRole = "piraeus-controller" // NodeRole is the role for the node set NodeRole = "piraeus-node" // LockName is the name of the lock for leader election LockName = "piraeus-operator-lock" )
Variables ¶
View Source
var ( HostPathDirectoryType = corev1.HostPathDirectory HostPathDirectoryOrCreateType = corev1.HostPathDirectoryOrCreate MountPropagationBidirectional = corev1.MountPropagationBidirectional )
Shared consts common to container volumes. These need to be vars, so they are addressible.
View Source
var (
Privileged = true
)
Shared consts common to container security. These need to be vars, so they are addressible.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.