From f8cf4b070450969978adc38ec8555f29b9014076 Mon Sep 17 00:00:00 2001 From: Paulo Pires Date: Tue, 21 Aug 2018 14:40:47 +0100 Subject: [PATCH] Update Curator instructions Signed-off-by: Paulo Pires --- README.md | 11 +--------- es-curator_v1beta1.yaml => es-curator.yaml | 0 es-curator_v2alpha1.yaml | 25 ---------------------- 3 files changed, 1 insertion(+), 35 deletions(-) rename es-curator_v1beta1.yaml => es-curator.yaml (100%) delete mode 100644 es-curator_v2alpha1.yaml diff --git a/README.md b/README.md index 031458a..d33a88e 100644 --- a/README.md +++ b/README.md @@ -256,18 +256,9 @@ Additionally, one can run a [CronJob](http://kubernetes.io/docs/user-guide/cron- ```shell kubectl create -f es-curator-config.yaml +kubectl create -f es-curator.yaml ``` -* Kubernetes 1.7 - ```shell - kubectl create -f es-curator_v2alpha1.yaml - ``` - -* Kubernetes 1.8+: - ```shell - kubectl create -f es-curator_v1beta1.yaml - ``` - Please, confirm the job has been created. ```shell diff --git a/es-curator_v1beta1.yaml b/es-curator.yaml similarity index 100% rename from es-curator_v1beta1.yaml rename to es-curator.yaml diff --git a/es-curator_v2alpha1.yaml b/es-curator_v2alpha1.yaml deleted file mode 100644 index 4051635..0000000 --- a/es-curator_v2alpha1.yaml +++ /dev/null @@ -1,25 +0,0 @@ -apiVersion: batch/v2alpha1 -kind: CronJob -metadata: - name: curator -spec: - schedule: 1 0 * * * - jobTemplate: - spec: - template: - spec: - containers: - - name: curator - image: quay.io/pires/docker-elasticsearch-curator:5.5.1 - args: - - --config - - /etc/config/config.yml - - /etc/config/action_file.yml - volumeMounts: - - name: config-volume - mountPath: /etc/config - volumes: - - name: config-volume - configMap: - name: curator-config - restartPolicy: OnFailure