longhorn.io / v1beta2 / RecurringJob
- string
.apiVersion
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
- string
.kind
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
- object
.metadata
- object
.spec
RecurringJobSpec defines the desired state of the Longhorn recurring job
- integer
.spec .concurrency
The concurrency of taking the snapshot/backup.
- string
.spec .cron
The cron setting.
- array
.spec .groups
The recurring job group.
- object
.spec .labels
The label of the snapshot/backup.
- string
.spec .name
The recurring job name.
- object
.spec .parameters
The parameters of the snapshot/backup. Support parameters: “full-backup-interval”, “volume-backup-policy”.
- integer
.spec .retain
The retain count of the snapshot/backup.
- string
.spec .task
The recurring job task. Can be “snapshot”, “snapshot-force-create”, “snapshot-cleanup”, “snapshot-delete”, “backup”, “backup-force-create”, “filesystem-trim” or “system-backup”.
- object
.status
RecurringJobStatus defines the observed state of the Longhorn recurring job
- integer
.status .executionCount
The number of jobs that have been triggered.
- string
.status .ownerID
The owner ID which is responsible to reconcile this recurring job CR.