@@ -62,6 +62,7 @@ const (
6262 DistributedDBReplicaENV = "DB_REPLICAS"
6363 DistributedMaxVolumeUsed = "max_used"
6464 DistributedVolumeCapacity = "capacity"
65+ KubesliceContainerExcludeLabel = "kubeslice.io/exclude"
6566
6667 KubeSliceNSMIPKey = "kubeslice.io/nsmIP"
6768 KubeSlicePodIPVolumeName = "podip"
@@ -398,13 +399,37 @@ const (
398399 DatabasePodMasterComponent = "Master"
399400 DatabasePodSlaveComponent = "Slave"
400401
401- MariaDBDistributedUpgradeCommand = "mariadb-upgrade"
402- MariaDBDistributedPodMetricGetCommand = "get-pod-metrics"
403- MariaDBDistributedPodGetCommand = "get-pod"
404- MariaDBDistributedVolumeUsageGetCommand = "get-volume-usage"
405- MariaDBDistributedVolumeCapacityGetCommand = "get-volume-capacity"
406- MariaDBDistributedBackupCommand = "take-backup"
407- MariaDBDistributedRestoreCommand = "restore-backup"
402+ MariaDBDistributedUpgradeCommand = "mariadb-upgrade"
403+ MariaDBDistributedPodMetricGetCommand = "get-pod-metrics"
404+ MariaDBDistributedPodGetCommand = "get-pod"
405+ MariaDBDistributedVolumeUsageGetCommand = "get-volume-usage"
406+ MariaDBDistributedVolumeCapacityGetCommand = "get-volume-capacity"
407+ MariaDBDistributedBackupCommand = "take-backup"
408+ MariaDBDistributedRestoreCommand = "restore-backup"
409+ MariaDBDistributedRecoveryFileCreateCommand = "create-recovery-done-file"
410+ MariaDBArchiverPVCRestorerSuffix = "pvc-restorer"
411+ MariaDBBinlogRestoreSidekickSuffix = "binlog-restorer"
412+ MariaDBBinlogRestoreServiceSuffix = "binlog-restore"
413+ MariaDBXtraBackupInfoFile = "/var/lib/mysql/mariadb_backup_binlog_info"
414+ MariaDBBackupInfoFile = "/var/lib/mysql/xtrabackup_binlog_info"
415+ MariaDBArchiverRestoreRecoveryFileName = "/tmp/recovery.done"
416+ MariaDBArchiverBackupJobSelector = GroupName + "/archiver-job-name"
417+ MariaDBSidekickNameLabelKey = GroupName + "/sidekick-name"
418+ MariaDBArchiverBasebackupRestic = "Restic"
419+ MariaDBArchiverBasebackupVolumeSnapshooter = "VolumeSnapshotter"
420+
421+ // Distributed Archiver
422+ BackupsessionAnnotation = "kubestash.com/backupsession"
423+ RestoresessionAnnotation = "kubestash.com/restoresession"
424+ BackupconfigurationAnnotation = "kubestash.com/backupconfiguration"
425+ DistributedSnapshotinfoAnnotation = "kubestash.com/distributedsnapshotinfo"
426+ SnapshotsKey = "snapshots"
427+ RestoreSessionKey = "restoresession"
428+ DistributedArchiverBackupCMNameSuffix = "backup"
429+ DistributedArchiverRestoreCMNameSuffix = "restore"
430+ DistributedArchiverSnapshotCMNameSuffix = "snapshots"
431+ MariaDBKubestashBackupContainerName = "physical-backup-1"
432+ MariaDBKubestashRestoreContainerName = "distributed-physical-backup-restore-0"
408433
409434 // Maxscale
410435 MaxscaleCommonName = "mx"
0 commit comments