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 ( // LinstorControllerImage is the repo/tag for linstor-server LinstorControllerImage = "drbd.io/linstor-controller" // LinstorControllerVersion must match LinstorSatelliteVersion since the // linstor controller and satellite versions must also match exactly LinstorControllerVersion = "v1.4.2.1" // LinstorSatelliteImage is the repo/tag for LINSTOR Satellite container LinstorSatelliteImage = "drbd.io/linstor-satellite" // LinstorSatelliteVersion is the release tag for the above image LinstorSatelliteVersion = "v1.4.2" // LinstorKernelModImage is the worker (aka satellite) image for each node LinstorKernelModImage = "drbd.io/drbd9" // LinstorKernelModVersion is the release tag for the above image LinstorKernelModVersion = "bionic" // DrbdRepoCred is the name of the kubernetes secret that holds the repo // credentais for drbd.io DrbdRepoCred = "drbdiocred" )
View Source
const LinstorCSPriorityClassName = "linstor-cs-priority-class"
LinstorPriorityClassName is the name of the PriorityClass set up in the example yaml used by important linstor components.
View Source
const LinstorNSPriorityClassName = "linstor-ns-priority-class"
View Source
const (
// LinstorSatelliteNode label to mark node eligible to run linstor-node pods.
LinstorNode = selectorPrefix + "linstor-node"
)
Kubernetes node labels that are an opt-in selector to run linstor pods when set to "true".
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.