Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ControllerName name of etcd backup controller. ControllerName = "kubermatic_etcd_backup_controller" // DeleteAllBackupsFinalizer indicates that the backups still need to be deleted in the backend DeleteAllBackupsFinalizer = "kubermatic.io/delete-all-backups" // BackupConfigNameLabelKey is the label key which should be used to name the BackupConfig a job belongs to BackupConfigNameLabelKey = "backupConfig" // DefaultBackupContainerImage holds the default Image used for creating the etcd backups DefaultBackupContainerImage = "gcr.io/etcd-development/etcd" // will write the backup to SharedVolumeName = "etcd-backup" )
Variables ¶
This section is empty.
Functions ¶
func Add ¶
func Add( mgr manager.Manager, log *zap.SugaredLogger, numWorkers int, workerName string, storeContainer *corev1.Container, deleteContainer *corev1.Container, cleanupContainer *corev1.Container, backupContainerImage string, versions kubermatic.Versions, caBundle resources.CABundle, seedGetter provider.SeedGetter, ) error
Add creates a new Backup controller that is responsible for managing cluster etcd backups
Types ¶
type Reconciler ¶
type Reconciler struct { ctrlruntimeclient.Client // contains filtered or unexported fields }
Reconciler stores necessary components that are required to create etcd backups
Click to show internal directories.
Click to hide internal directories.