constant

package
v0.3.0-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CSIName = "csi-baremetal"

	// ports
	PrometheusPort = 8787
	LivenessPort   = "liveness-port"

	// timeouts
	TerminationGracePeriodSeconds = 10

	// volumes
	LogsVolume         = "logs"
	CSISocketDirVolume = "csi-socket-dir"

	// termination settings
	TerminationMessagePath   = "/var/log/termination-log"
	TerminationMessagePolicy = corev1.TerminationMessageReadFile

	// sidecars
	ProvisionerName     = "csi-provisioner"
	ResizerName         = "csi-resizer"
	DriverRegistrarName = "csi-node-driver-registrar"
	LivenessProbeName   = "livenessprobe"
)

Variables

View Source
var (
	CrashVolume = corev1.Volume{
		Name: "crash-dump",
		VolumeSource: corev1.VolumeSource{
			EmptyDir: &corev1.EmptyDirVolumeSource{},
		}}

	CrashMountVolume = corev1.VolumeMount{
		Name: "crash-dump", MountPath: "/crash-dump",
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL