ivpusic / salt-elasticsearch-formula

Salt formula for running Elasticsearch cluster using zen of aws discovery

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

salt-elasticsearch-formula

Salt formula for installing elasticsearch (5.X.X) to ubuntu

Example top.sls:

base:
  '*':
    - elasticsearch

Example pillar for single node:

elasticsearch:
  lookup:
    cluster_name: 'salt-cluster'
    version: '5.6.3'
    use_memory: 0.5
    bootstrap:
      memory_lock: 'true'
    network:
      host: '0.0.0.0'

Example pillar for zen discovery:

elasticsearch:
  lookup:
    cluster_name: 'salt-cluster'
    version: '5.6.3'
    use_memory: 0.5
    bootstrap:
      memory_lock: 'true'
    network:
      host: '0.0.0.0'
    discovery:
      zen:
        hosts:
          - '172.17.0.3'
          - '172.17.0.4'
          - '172.17.0.5'

Example pillar for aws discovery:

elasticsearch:
  lookup:
    cluster_name: 'salt-cluster'
    version: '5.6.3'
    use_memory: 0.5
    bootstrap:
      memory_lock: 'true'
    network:
      host: '0.0.0.0'
    discovery:
      aws:
        access_key: '<your_access_key>'
        secret_key: '<your_secret_key>'
        region: '<your_region>'
        security_groups: '<your_security_groups_to_match>'
    plugins:
      discovery-ec2: discovery-ec2

About

Salt formula for running Elasticsearch cluster using zen of aws discovery

License:MIT License


Languages

Language:SaltStack 84.2%Language:HTML 15.8%