Kind
Recurringjob
Group
longhorn.io
Version
v1beta2
apiVersion: longhorn.io/v1beta2 kind: Recurringjob metadata: name: example
View raw schema
apiVersion string
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kind string
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadata object
spec object
RecurringJobSpec defines the desired state of the Longhorn recurring job
concurrency integer
The concurrency of taking the snapshot/backup.
cron string
The cron setting.
groups []string
The recurring job group.
labels object
The label of the snapshot/backup.
name string
The recurring job name.
parameters object
The parameters of the snapshot/backup. Support parameters: "full-backup-interval", "volume-backup-policy".
retain integer
The retain count of the snapshot/backup.
task string
The recurring job task. Can be "snapshot", "snapshot-force-create", "snapshot-cleanup", "snapshot-delete", "backup", "backup-force-create", "filesystem-trim" or "system-backup".
enum: snapshot, snapshot-force-create, snapshot-cleanup, snapshot-delete, backup, backup-force-create, filesystem-trim, system-backup
status object
RecurringJobStatus defines the observed state of the Longhorn recurring job
executionCount integer
The number of jobs that have been triggered.
ownerID string
The owner ID which is responsible to reconcile this recurring job CR.
Copied!