Using this Helm chart is the easiest way to install the scheduled volume snapshotter. To install with the base configuration, execute the following commands:
helm repo add scheduled-volume-snapshotter https://raw.githubusercontent.com/ryaneorth/k8s-scheduled-volume-snapshotter/main/repo
helm upgrade --install scheduled-volume-snapshotter scheduled-volume-snapshotter/scheduled-volume-snapshotter
Parameter | Description | Default |
---|---|---|
cronLabels |
Additional labels to add to the CronJob | {} |
image.repository |
The image to be used for the CronJob | ryaneorth/scheduled-volume-snapshotter |
image.tag |
The image version to be used for the CronJob. If not specified the Chart App Version will be used |
.Chart.AppVersion |
image.pullPolicy |
The pull policy for the CronJob pods | IfNotPresent |
schedule |
The cron expression for how often the job should execute | */15 * * * * |
successfulJobsHistoryLimit |
The number of successful jobs to retain | 3 |
failedJobsHistoryLimit |
The number of failed jobs to retain | 1 |
rbac.enabled |
Flag indicating whether the rbac resources should be installed | true |
logLevel |
The Python log level for the jobs | INFO |
ignoreUnsuccessfulSnapshots |
Flag indicating if previously generated snapshots in a non-successful state should be considered when determining if a new snapshot needs to be generated | false |
podLabels |
Additional labels to add to the CronJob pods | {} |
podAnnotations |
Annotations to be added to pods | {} |
snapshotClasses |
Optional list of VolumeSnapshotClass resources | [] |
snapshots |
Optional list of ScheduledVolumeSnapshot resources | [] |
podSecurityContext |
The securityContext to apply to the CronJob pods | {} |
containerSecurityContext |
The securityContext to apply to the CronJob pods' container | {} |
imagePullSecrets |
The imagePullSecrets to apply to the CronJob pods | [] |
startingDeadlineSeconds |
The startingDeadlineSeconds to apply to the CronJob | 300 |