linstorcsidriver

package
v1.10.9 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultAttacherImage            = "k8s.gcr.io/sig-storage/csi-attacher:v3.4.0"
	DefaultLivenessProbeImage       = "k8s.gcr.io/sig-storage/livenessprobe:v2.5.0"
	DefaultNodeDriverRegistrarImage = "k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.4.0"
	DefaultProvisionerImage         = "k8s.gcr.io/sig-storage/csi-provisioner:v3.1.0"
	DefaultSnapshotterImage         = "k8s.gcr.io/sig-storage/csi-snapshotter:v5.0.1"
	DefaultResizerImage             = "k8s.gcr.io/sig-storage/csi-resizer:v1.4.0"
)
View Source
const (
	NodeServiceAccount       = "-csi-node"
	ControllerServiceAccount = "-csi-controller"
	NodeDaemonSet            = "%s-csi-node"
	ControllerDeployment     = "%s-csi-controller"
	DefaultKubeletPath       = "/var/lib/kubelet"
)

Variables

View Source
var (
	IsPrivileged                        = true
	MountPropagationBidirectional       = corev1.MountPropagationBidirectional
	HostPathDirectoryOrCreate           = corev1.HostPathDirectoryOrCreate
	HostPathDirectory                   = corev1.HostPathDirectory
	AttacherMetricsPort           int32 = 9800
	ProvisionerMetricsPort        int32 = 9801
	SnapshotterMetricsPort        int32 = 9802
	ResizerMetricsPort            int32 = 9803
	DefaultHealthPort                   = 9808
)
View Source
var CreateMonitoring = true

CreateMonitoring controls if the operator will create monitoring resources.

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new LinstorCSIDriver Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

Types

type ReconcileLinstorCSIDriver

type ReconcileLinstorCSIDriver struct {
	// contains filtered or unexported fields
}

ReconcileLinstorCSIDriver reconciles a LinstorCSIDriver object

func (*ReconcileLinstorCSIDriver) Reconcile

Reconcile reads that state of the cluster for a LinstorCSIDriver object and makes changes based on the state read and what is in the LinstorCSIDriver.Spec

Jump to

Keyboard shortcuts

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