Documentation ¶
Overview ¶
Package backup contains a controller that is responsible for creating backup-related resources.
Index ¶
Constants ¶
View Source
const ( // will write the backup to SharedVolumeName = "etcd-backup" // DefaultBackupContainerImage holds the default Image used for creating the etcd backups DefaultBackupContainerImage = "gcr.io/etcd-development/etcd" // DefaultBackupInterval defines the default interval used to create backups DefaultBackupInterval = "20m" ControllerName = "kubermatic_backup_controller" )
Variables ¶
This section is empty.
Functions ¶
func Add ¶
func Add( log *zap.SugaredLogger, mgr manager.Manager, numWorkers int, workerName string, storeContainer corev1.Container, cleanupContainer corev1.Container, backupSchedule time.Duration, backupContainerImage string, versions kubermatic.Versions, ) error
Add creates a new Backup controller that is responsible for creating backupjobs for all managed user clusters
Types ¶
type Reconciler ¶
type Reconciler struct { ctrlruntimeclient.Client // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.