Documentation ¶
Index ¶
Constants ¶
View Source
const ( RetryCount = 3 Running = csiv1.DriverState("Running") Succeeded = csiv1.DriverState("Succeeded") Creating = csiv1.DriverState("Creating") Failed = csiv1.DriverState("Failed") InvalidConfig = csiv1.DriverState("InvalidConfig") NoState = csiv1.DriverState("") Updating = csiv1.DriverState("Updating") DefaultRetryInterval = 5 * time.Second MaxRetryInterval = 10 * time.Minute MaxRetryDuration = 30 * time.Minute )
Constants for driver states etc
View Source
const DriverMountName = "socket-dir"
DriverMountName - Socket directory volume mount name
View Source
const DriverMountPath = "/var/run/csi"
DriverMountPath - Mount path for the driver container
View Source
const TerminationMessagePath = "/dev/termination-log"
TerminationMessagePath for the container
View Source
const TerminationMessagePolicy = "File"
TerminationMessagePolicy determines the policy for termination message
Variables ¶
View Source
var DriverReplicas = int32(1)
DriverReplicas - Replica count for controller
MaxUnavailableUpdateStrategy - Maximum unavailable update strategy
View Source
var RevisionHistoryLimit = int32(10)
RevisionHistoryLimit - Max revision history limit for driver daemonset
View Source
var TerminationGracePeriodSeconds = int64(30)
TerminationGracePeriodSeconds - grace period in seconds
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.