https://github.com/ivpusic/salt-elasticsearch-formula
Salt formula for running Elasticsearch cluster using zen of aws discovery
https://github.com/ivpusic/salt-elasticsearch-formula
elasticsearch salt salt-formula saltstack saltstack-formula
Last synced: about 1 month ago
JSON representation
Salt formula for running Elasticsearch cluster using zen of aws discovery
- Host: GitHub
- URL: https://github.com/ivpusic/salt-elasticsearch-formula
- Owner: ivpusic
- License: mit
- Created: 2017-10-27T22:20:18.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-29T00:40:29.000Z (over 8 years ago)
- Last Synced: 2026-04-29T06:37:54.077Z (about 1 month ago)
- Topics: elasticsearch, salt, salt-formula, saltstack, saltstack-formula
- Language: SaltStack
- Homepage:
- Size: 16.6 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# salt-elasticsearch-formula
Salt formula for installing elasticsearch (5.X.X) to ubuntu
Example `top.sls`:
```yaml
base:
'*':
- elasticsearch
```
#### Example pillar for single node:
```yaml
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:
```yaml
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:
```yaml
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: ''
secret_key: ''
region: ''
security_groups: ''
plugins:
discovery-ec2: discovery-ec2
```