stable/elasticsearch-curator
⚠️ Repo Archive Notice
As of Nov 13, 2020, charts in this repo will no longer be updated. For more information, see the Helm Charts Deprecation and Archive Notice, and Update.
Elasticsearch Curator Helm Chart
This directory contains a Kubernetes chart to deploy the Elasticsearch Curator.
DEPRECATION NOTICE
This chart is deprecated and no longer supported.
Prerequisites Details
Elasticsearch
The
elasticsearch-curator
cron job requires K8s CronJob support: > You need a working Kubernetes cluster at version >= 1.8 (for CronJob). For previous versions of cluster (< 1.8) you need to explicitly enablebatch/v2alpha1
API by passing--runtime-config=batch/v2alpha1=true
to the API server (see Turn on or off an API version for your cluster for more).
Chart Details
This chart will do the following:
- Create a CronJob which runs the Curator
Installing the Chart
To install the chart, use the following:
$ helm install stable/elasticsearch-curator
Upgrading an existing Release to a new major version
A major chart version change (like v1.2.3 -> v2.0.0) indicates that there is an incompatible breaking change needing manual actions.
To 2.0.0
v2.0.0 uses docker image from elasticsearch-curator
author, which differs in its way to install curator.
If you have a hardcoded command
value, please update it to follow the new curator
executable path: /curator/curator
(which is not in PATH).
Configuration
The following table lists the configurable parameters of the docker-registry chart and their default values.
Parameter | Description | Default |
---|---|---|
image.pullPolicy |
Container pull policy | IfNotPresent |
image.repository |
Container image to use | untergeek/curator |
image.tag |
Container image tag to deploy | 5.7.6 |
hooks |
Whether to run job on selected hooks | { "install": false, "upgrade": false } |
cronjob.schedule |
Schedule for the CronJob | 0 1 * * * |
cronjob.annotations |
Annotations to add to the cronjob | {} |
cronjob.labels |
Labels to add to the cronjob | {} |
cronjob.concurrencyPolicy |
Allow\|Forbid\|Replace concurrent jobs |
nil |
cronjob.failedJobsHistoryLimit |
Specify the number of failed Jobs to keep | nil |
cronjob.successfulJobsHistoryLimit |
Specify the number of completed Jobs to keep | nil |
cronjob.jobRestartPolicy |
Control the Job restartPolicy | Never |
cronjob.startingDeadlineSeconds |
Amount of time to try reschedule job if we can’t run on time | nil |
pod.annotations |
Annotations to add to the pod | {} |
pod.labels |
Labels to add to the pod | {} |
dryrun |
Run Curator in dry-run mode | false |
env |
Environment variables to add to the cronjob container | {} |
envFromSecrets |
Environment variables from secrets to the cronjob container | {} |
envFromSecrets.*.from.secret |
- secretKeyRef.name used for environment variable |
|
envFromSecrets.*.from.key |
- secretKeyRef.key used for environment variable |
|
command |
Command to execute | [“/curator/curator”] |
configMaps.action_file_yml |
Contents of the Curator action_file.yml | See values.yaml |
configMaps.config_yml |
Contents of the Curator config.yml (overrides config) | See values.yaml |
resources |
Resource requests and limits | {} |
priorityClassName |
priorityClassName | nil |
extraVolumeMounts |
Mount extra volume(s), | |
extraVolumes |
Extra volumes | |
extraInitContainers |
Init containers to add to the cronjob container | {} |
securityContext |
Configure PodSecurityContext | false |
rbac.enabled |
Enable RBAC resources | false |
psp.create |
Create pod security policy resources | false |
serviceAccount.create |
Create a default serviceaccount for elasticsearch curator | true |
serviceAccount.name |
Name for elasticsearch curator serviceaccount | "" |
Specify each parameter using the --set key=value[,key=value]
argument to
helm install
.