GithubHelp home page GithubHelp logo

chart-curator's Introduction

Chart for Curator

Build Status

Elasticsearch Curator helps you curate, or manage, your Elasticsearch indices by:

  • Obtaining the full list of indices from the cluster, as the actionable list
  • Iterating through a list of user-defined filters to progressively remove indices from the actionable list as needed.

Our Chart deletes all indices prefixed with either logstash- or logsystemd older than 14 days.

Installation

From our chart repository

helm repo add cnct https://charts.migrations.cnct.io
helm repo update
helm install cnct/curator --set security.password="changeme"

To install from local repository

helm install --name my-release --namespace my-namespace ./curator --set security.password="changeme"

To install from local, overriding the base image and tag directly:

helm install --name my-release --namespace my-namespace \
  --set image.name=bobrik/curator \
  --set image.tag=5.2.0 \
  ./curator --set security.password="changeme"

To install from local, overriding with a values file:

helm install --name my-release --namespace my-namespace \
  --values ./staging-values.yaml \
  ./curator --set security.password="changeme"

In which the file ./staging-values.yaml contains:

image:
  name: bobrik/curator
  tag: 5.2.0

# sets the cron job to execute everyday at 2am
schedule: "00 2 * * *"

description:
  Delete indices older than 7 days and prefixed with logstash-.

filters:
- filtertype: pattern
  kind: prefix
  value: "logstash-"
  exclude: False
- filtertype: age
  source: name
  timestring: '%Y.%m.%d'
  direction: older
  unit: days
  unit_count: 7
  field: null
  stats_result: null
  epoch: null
  exclude: False

Configuration

The following tables lists the configurable parameters of the Curator chart and their default values.

Parameter Description Default
name Name of the chart curator
image FQDN repository/image name quay.io/samsung_cnct/curator-container
schedule The cron schedule 30 3 * * *
action Name of the action delete_indices
logstashDescription Description of the logstash action <see values.yaml>
logsystemdDescription Description of the logsystemd action <see values.yaml>
options Options of the action <see values.yaml>
logstashFilters Filters for logstash action <see values.yaml>
logsystemdFilters Filters for logsystemd action <see values.yaml>
client Client configuration <see values.yaml>
logging Logging configuration <see values.yaml>
security.password Logging configuration <see values.yaml>

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

References

Credit

Created and maintained by the Samsung Cloud Native Computing Team.

chart-curator's People

Contributors

alika avatar coffeepac avatar davidewatson avatar dstorck avatar guineveresaenger avatar joejulian avatar leahnp avatar michael-amiethyst avatar michaelamiethyst avatar mikeln avatar notjames avatar nowjean avatar philoserf avatar venezia avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.