API Reference
This is a generated API documentation.
A more sophisticated documentation is available under doc.crds.dev/github.com/k8up-io/k8up. |
k8up.io/v1
Archive
Archive is the Schema for the archives API
Field | Description |
---|---|
|
|
|
|
|
Refer to Kubernetes API documentation for fields of |
|
ArchiveList
ArchiveList contains a list of Archive
Field | Description |
---|---|
|
|
|
|
|
Refer to Kubernetes API documentation for fields of |
|
ArchiveSchedule
ArchiveSchedule manages schedules for the archival service
Field | Description |
---|---|
|
Backend contains the restic repo where the job should backup to. |
|
Resources describes the compute resource requirements (cpu, memory, etc.) |
|
PodSecurityContext describes the security context with which this action shall be executed. |
|
ActiveDeadlineSeconds specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it. Value must be positive integer if given. |
|
|
|
|
|
|
|
KeepJobs amount of jobs to keep for later analysis. Deprecated: Use FailedJobsHistoryLimit and SuccessfulJobsHistoryLimit respectively. |
|
FailedJobsHistoryLimit amount of failed jobs to keep for later analysis. KeepJobs is used property is not specified. |
|
SuccessfulJobsHistoryLimit amount of successful jobs to keep for later analysis. KeepJobs is used property is not specified. |
|
Tags is a list of arbitrary tags that get added to the backup via Restic’s tagging system |
|
|
|
ArchiveSpec
ArchiveSpec defines the desired state of Archive.
Field | Description |
---|---|
|
Backend contains the restic repo where the job should backup to. |
|
Resources describes the compute resource requirements (cpu, memory, etc.) |
|
PodSecurityContext describes the security context with which this action shall be executed. |
|
ActiveDeadlineSeconds specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it. Value must be positive integer if given. |
|
|
|
|
|
|
|
KeepJobs amount of jobs to keep for later analysis. Deprecated: Use FailedJobsHistoryLimit and SuccessfulJobsHistoryLimit respectively. |
|
FailedJobsHistoryLimit amount of failed jobs to keep for later analysis. KeepJobs is used property is not specified. |
|
SuccessfulJobsHistoryLimit amount of successful jobs to keep for later analysis. KeepJobs is used property is not specified. |
|
Tags is a list of arbitrary tags that get added to the backup via Restic’s tagging system |
Backend
Backend allows configuring several backend implementations. It is expected that users only configure one storage type.
Field | Description |
---|---|
|
RepoPasswordSecretRef references a secret key to look up the restic repository password |
|
EnvFrom adds all environment variables from a an external source to the Restic job. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Backup
Backup is the Schema for the backups API
Field | Description |
---|---|
|
|
|
|
|
Refer to Kubernetes API documentation for fields of |
|
BackupList
BackupList contains a list of Backup
Field | Description |
---|---|
|
|
|
|
|
Refer to Kubernetes API documentation for fields of |
|
BackupSchedule
BackupSchedule manages schedules for the backup service
Field | Description |
---|---|
|
Backend contains the restic repo where the job should backup to. |
|
Resources describes the compute resource requirements (cpu, memory, etc.) |
|
PodSecurityContext describes the security context with which this action shall be executed. |
|
ActiveDeadlineSeconds specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it. Value must be positive integer if given. |
|
KeepJobs amount of jobs to keep for later analysis. Deprecated: Use FailedJobsHistoryLimit and SuccessfulJobsHistoryLimit respectively. |
|
FailedJobsHistoryLimit amount of failed jobs to keep for later analysis. KeepJobs is used property is not specified. |
|
SuccessfulJobsHistoryLimit amount of successful jobs to keep for later analysis. KeepJobs is used property is not specified. |
|
PromURL sets a prometheus push URL where the backup container send metrics to |
|
StatsURL sets an arbitrary URL where the restic container posts metrics and information about the snapshots to. This is in addition to the prometheus pushgateway. |
|
Tags is a list of arbitrary tags that get added to the backup via Restic’s tagging system |
|
|
|
BackupSpec
BackupSpec defines a single backup. It must contain all information to connect to the backup repository when applied. If used with defaults or schedules the operator will ensure that the defaults are applied before creating the object on the API.
Field | Description |
---|---|
|
Backend contains the restic repo where the job should backup to. |
|
Resources describes the compute resource requirements (cpu, memory, etc.) |
|
PodSecurityContext describes the security context with which this action shall be executed. |
|
ActiveDeadlineSeconds specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it. Value must be positive integer if given. |
|
KeepJobs amount of jobs to keep for later analysis. Deprecated: Use FailedJobsHistoryLimit and SuccessfulJobsHistoryLimit respectively. |
|
FailedJobsHistoryLimit amount of failed jobs to keep for later analysis. KeepJobs is used property is not specified. |
|
SuccessfulJobsHistoryLimit amount of successful jobs to keep for later analysis. KeepJobs is used property is not specified. |
|
PromURL sets a prometheus push URL where the backup container send metrics to |
|
StatsURL sets an arbitrary URL where the restic container posts metrics and information about the snapshots to. This is in addition to the prometheus pushgateway. |
|
Tags is a list of arbitrary tags that get added to the backup via Restic’s tagging system |
Check
Check is the Schema for the checks API
Field | Description |
---|---|
|
|
|
|
|
Refer to Kubernetes API documentation for fields of |
|
CheckList
CheckList contains a list of Check
Field | Description |
---|---|
|
|
|
|
|
Refer to Kubernetes API documentation for fields of |
|
CheckSchedule
CheckSchedule manages the schedules for the checks
Field | Description |
---|---|
|
Backend contains the restic repo where the job should backup to. |
|
Resources describes the compute resource requirements (cpu, memory, etc.) |
|
PodSecurityContext describes the security context with which this action shall be executed. |
|
ActiveDeadlineSeconds specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it. Value must be positive integer if given. |
|
PromURL sets a prometheus push URL where the backup container send metrics to |
|
KeepJobs amount of jobs to keep for later analysis. Deprecated: Use FailedJobsHistoryLimit and SuccessfulJobsHistoryLimit respectively. |
|
FailedJobsHistoryLimit amount of failed jobs to keep for later analysis. KeepJobs is used property is not specified. |
|
SuccessfulJobsHistoryLimit amount of successful jobs to keep for later analysis. KeepJobs is used property is not specified. |
|
|
|
CheckSpec
CheckSpec defines the desired state of Check. It needs to contain the repository information.
Field | Description |
---|---|
|
Backend contains the restic repo where the job should backup to. |
|
Resources describes the compute resource requirements (cpu, memory, etc.) |
|
PodSecurityContext describes the security context with which this action shall be executed. |
|
ActiveDeadlineSeconds specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it. Value must be positive integer if given. |
|
PromURL sets a prometheus push URL where the backup container send metrics to |
|
KeepJobs amount of jobs to keep for later analysis. Deprecated: Use FailedJobsHistoryLimit and SuccessfulJobsHistoryLimit respectively. |
|
FailedJobsHistoryLimit amount of failed jobs to keep for later analysis. KeepJobs is used property is not specified. |
|
SuccessfulJobsHistoryLimit amount of successful jobs to keep for later analysis. KeepJobs is used property is not specified. |
EffectiveSchedule
Field | Description |
---|---|
|
|
|
FolderRestore
Field | Description |
---|---|
|
Pod
Pod is a dummy struct to fix some code generation issues.
Field | Description |
---|---|
|
Refer to Kubernetes API documentation for fields of |
|
Specification of the desired behavior of the pod. More info: git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status |
PreBackupPod
PreBackupPod is the Schema for the prebackuppods API
Field | Description |
---|---|
|
|
|
|
|
Refer to Kubernetes API documentation for fields of |
|
PreBackupPodList
PreBackupPodList contains a list of PreBackupPod
Field | Description |
---|---|
|
|
|
|
|
Refer to Kubernetes API documentation for fields of |
|
PreBackupPodSpec
PreBackupPodSpec define pods that will be launched during the backup. After the backup has finished (successfully or not), they should be removed again automatically by the operator.
Field | Description |
---|---|
|
BackupCommand will be added to the backupcommand annotation on the pod. |
|
|
|
Prune
Prune is the Schema for the prunes API
Field | Description |
---|---|
|
|
|
|
|
Refer to Kubernetes API documentation for fields of |
|
PruneList
PruneList contains a list of Prune
Field | Description |
---|---|
|
|
|
|
|
Refer to Kubernetes API documentation for fields of |
|
PruneSchedule
PruneSchedule manages the schedules for the prunes
Field | Description |
---|---|
|
Backend contains the restic repo where the job should backup to. |
|
Resources describes the compute resource requirements (cpu, memory, etc.) |
|
PodSecurityContext describes the security context with which this action shall be executed. |
|
ActiveDeadlineSeconds specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it. Value must be positive integer if given. |
|
Retention sets how many backups should be kept after a forget and prune |
|
KeepJobs amount of jobs to keep for later analysis. Deprecated: Use FailedJobsHistoryLimit and SuccessfulJobsHistoryLimit respectively. |
|
FailedJobsHistoryLimit amount of failed jobs to keep for later analysis. KeepJobs is used property is not specified. |
|
SuccessfulJobsHistoryLimit amount of successful jobs to keep for later analysis. KeepJobs is used property is not specified. |
|
|
|
PruneSpec
PruneSpec needs to contain the repository information as well as the desired retention policies.
Field | Description |
---|---|
|
Backend contains the restic repo where the job should backup to. |
|
Resources describes the compute resource requirements (cpu, memory, etc.) |
|
PodSecurityContext describes the security context with which this action shall be executed. |
|
ActiveDeadlineSeconds specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it. Value must be positive integer if given. |
|
Retention sets how many backups should be kept after a forget and prune |
|
KeepJobs amount of jobs to keep for later analysis. Deprecated: Use FailedJobsHistoryLimit and SuccessfulJobsHistoryLimit respectively. |
|
FailedJobsHistoryLimit amount of failed jobs to keep for later analysis. KeepJobs is used property is not specified. |
|
SuccessfulJobsHistoryLimit amount of successful jobs to keep for later analysis. KeepJobs is used property is not specified. |
Restore
Restore is the Schema for the restores API
Field | Description |
---|---|
|
|
|
|
|
Refer to Kubernetes API documentation for fields of |
|
RestoreList
RestoreList contains a list of Restore
Field | Description |
---|---|
|
|
|
|
|
Refer to Kubernetes API documentation for fields of |
|
RestoreMethod
RestoreMethod contains how and where the restore should happen all the settings are mutual exclusive.
Field | Description |
---|---|
|
|
|
RestoreSchedule
RestoreSchedule manages schedules for the restore service
Field | Description |
---|---|
|
Backend contains the restic repo where the job should backup to. |
|
Resources describes the compute resource requirements (cpu, memory, etc.) |
|
PodSecurityContext describes the security context with which this action shall be executed. |
|
ActiveDeadlineSeconds specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it. Value must be positive integer if given. |
|
|
|
|
|
|
|
KeepJobs amount of jobs to keep for later analysis. Deprecated: Use FailedJobsHistoryLimit and SuccessfulJobsHistoryLimit respectively. |
|
FailedJobsHistoryLimit amount of failed jobs to keep for later analysis. KeepJobs is used property is not specified. |
|
SuccessfulJobsHistoryLimit amount of successful jobs to keep for later analysis. KeepJobs is used property is not specified. |
|
Tags is a list of arbitrary tags that get added to the backup via Restic’s tagging system |
|
|
|
RestoreSpec
RestoreSpec can either contain an S3 restore point or a local one. For the local one you need to define an existing PVC.
Field | Description |
---|---|
|
Backend contains the restic repo where the job should backup to. |
|
Resources describes the compute resource requirements (cpu, memory, etc.) |
|
PodSecurityContext describes the security context with which this action shall be executed. |
|
ActiveDeadlineSeconds specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it. Value must be positive integer if given. |
|
|
|
|
|
|
|
KeepJobs amount of jobs to keep for later analysis. Deprecated: Use FailedJobsHistoryLimit and SuccessfulJobsHistoryLimit respectively. |
|
FailedJobsHistoryLimit amount of failed jobs to keep for later analysis. KeepJobs is used property is not specified. |
|
SuccessfulJobsHistoryLimit amount of successful jobs to keep for later analysis. KeepJobs is used property is not specified. |
|
Tags is a list of arbitrary tags that get added to the backup via Restic’s tagging system |
RetentionPolicy
Field | Description |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Tags is a filter on what tags the policy should be applied DO NOT CONFUSE THIS WITH KeepTags OR YOU’LL have a bad time |
|
Hostnames is a filter on what hostnames the policy should be applied |
RunnableSpec
RunnableSpec defines the fields that are necessary on the specs of all actions that are translated to k8s jobs eventually.
Field | Description |
---|---|
|
Backend contains the restic repo where the job should backup to. |
|
Resources describes the compute resource requirements (cpu, memory, etc.) |
|
PodSecurityContext describes the security context with which this action shall be executed. |
|
ActiveDeadlineSeconds specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it. Value must be positive integer if given. |
Schedule
Schedule is the Schema for the schedules API
Field | Description |
---|---|
|
|
|
|
|
Refer to Kubernetes API documentation for fields of |
|
ScheduleCommon
ScheduleCommon contains fields every schedule needs
Field | Description |
---|---|
|
|
|
ScheduleDefinition (string)
ScheduleDefinition is the actual cron-type expression that defines the interval of the actions.
ScheduleList
ScheduleList contains a list of Schedule
Field | Description |
---|---|
|
|
|
|
|
Refer to Kubernetes API documentation for fields of |
|
ScheduleSpec
ScheduleSpec defines the schedules for the various job types.
Field | Description |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
KeepJobs amount of jobs to keep for later analysis. Deprecated: Use FailedJobsHistoryLimit and SuccessfulJobsHistoryLimit respectively. |
|
FailedJobsHistoryLimit amount of failed jobs to keep for later analysis. KeepJobs is used property is not specified. |
|
SuccessfulJobsHistoryLimit amount of successful jobs to keep for later analysis. KeepJobs is used property is not specified. |
|
ResourceRequirementsTemplate describes the compute resource requirements (cpu, memory, etc.) |
|
PodSecurityContext describes the security context with which actions (such as backups) shall be executed. |
Snapshot
Snapshot is the Schema for the snapshots API
Field | Description |
---|---|
|
|
|
|
|
Refer to Kubernetes API documentation for fields of |
|
SnapshotList
SnapshotList contains a list of Snapshot
Field | Description |
---|---|
|
|
|
|
|
Refer to Kubernetes API documentation for fields of |
|
SnapshotSpec
SnapshotSpec contains all information needed about a restic snapshot so it can be restored.
Field | Description |
---|---|
|
|
|
|
|
|
|