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 ¶
Types ¶
type ReconcileLinstorCSIDriver ¶
type ReconcileLinstorCSIDriver struct {
// contains filtered or unexported fields
}
ReconcileLinstorCSIDriver reconciles a LinstorCSIDriver object
func (*ReconcileLinstorCSIDriver) Reconcile ¶
func (r *ReconcileLinstorCSIDriver) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
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
Click to show internal directories.
Click to hide internal directories.