Documentation ¶
Index ¶
Constants ¶
View Source
const ( ControllerName = "kubermatic_etcd_restore_controller" // FinishRestoreFinalizer indicates that the restore is rebuilding the etcd statefulset FinishRestoreFinalizer = "kubermatic.io/finish-restore" // ActiveRestoreAnnotationName is the cluster annotation that records the EtcdRestore resource that's currently // being restored into the cluster, if any. This is also used for mutual exclusion, i.e. to make sure that not // more than one EtcdRestore resource is active for the cluster at the same time. ActiveRestoreAnnotationName = "kubermatic.io/active-restore" )
Variables ¶
This section is empty.
Functions ¶
func Add ¶
func Add( mgr manager.Manager, log *zap.SugaredLogger, numWorkers int, workerName string, versions kubermatic.Versions, seedGetter provider.SeedGetter, ) error
Add creates a new etcd restore controller that is responsible for managing cluster etcd restores
Types ¶
type Reconciler ¶
type Reconciler struct { ctrlruntimeclient.Client // contains filtered or unexported fields }
Reconciler stores necessary components that are required to restore etcd backups
Click to show internal directories.
Click to hide internal directories.