-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #73 from spryker/develop
Upgrade main ES service from 6.x to 7.x
- Loading branch information
Showing
30 changed files
with
699 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Note: Elasticsearch plugins should have version, which fits installed elasticsearch version | ||
|
||
elasticsearch: | ||
version: 6.8.6 | ||
version: 7.8.1 | ||
# plugins: | ||
# head: | ||
# name: mobz/elasticsearch-head |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,4 @@ elk: | |
port: 10005 | ||
|
||
kibana: | ||
version: 6.8.6 | ||
version: 7.8.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,4 @@ dev: | |
- postgresql | ||
- rabbitmq | ||
- elasticsearch | ||
- elk | ||
- elk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# | ||
# Install Elasticsearch 6.8.6 as the second service | ||
# | ||
|
||
install-elasticsearch6: | ||
cmd.run: | ||
- name: cd /opt && wget -q https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.8.6.tar.gz && tar zxf elasticsearch-6.8.6.tar.gz && rm -f elasticsearch-6.8.6.tar.gz && chown -R elasticsearch. /opt/elasticsearch-6.8.6 && rm -rf /opt/elasticsearch-6.8.6/config/* | ||
- unless: test -d /opt/elasticsearch-6.8.6 | ||
|
||
/opt/elasticsearch-6.8.6/config: | ||
file.recurse: | ||
- source: salt://elasticsearch/files/es6_instance/config | ||
- user: elasticsearch | ||
- group: elasticsearch | ||
- file_mode: 644 | ||
- dir_mode: 755 | ||
|
||
/etc/systemd/system/elasticsearch6-development.service: | ||
file.managed: | ||
- source: salt://elasticsearch/files/es6_instance/etc/systemd/system/elasticsearch6.service | ||
- mode: 644 | ||
- user: root | ||
- group: root | ||
|
||
/etc/default/elasticsearch6-development: | ||
file.managed: | ||
- source: salt://elasticsearch/files/es6_instance/etc/default/elasticsearch6 | ||
- mode: 644 | ||
- user: root | ||
- group: root | ||
|
||
/home/vagrant/es6.sh: | ||
file.managed: | ||
- source: salt://elasticsearch/files/es6_instance/es6.sh | ||
- mode: 744 | ||
- user: root | ||
- group: root | ||
|
||
/home/vagrant/es7.sh: | ||
file.managed: | ||
- source: salt://elasticsearch/files/es6_instance/es7.sh | ||
- mode: 744 | ||
- user: root | ||
- group: root |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
57 changes: 57 additions & 0 deletions
57
saltstack/base/elasticsearch/files/es6_instance/config/elasticsearch.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
################################### Cluster ################################## | ||
cluster.name: spryker-development | ||
|
||
|
||
#################################### Node #################################### | ||
node.name: vm-suite | ||
node.master: true | ||
node.data: true | ||
node.ingest: true | ||
node.max_local_storage_nodes: 1 | ||
|
||
|
||
#################################### Paths ################################### | ||
path.data: /data/shop/development/shared/elasticsearch | ||
path.logs: /data/logs/development/elasticsearch | ||
path.repo: ["/data/shop/development/shared/elasticsearch/snapshots"] | ||
|
||
################################### Memory ################################### | ||
bootstrap.memory_lock: true | ||
|
||
|
||
############################## Network And HTTP ############################## | ||
network.bind_host: 0.0.0.0 | ||
network.publish_host: localhost | ||
http.port: 10005 | ||
transport.tcp.port: 20005 | ||
transport.tcp.compress: false | ||
|
||
|
||
################################### Gateway ################################## | ||
gateway.recover_after_nodes: 1 | ||
gateway.recover_after_time: 3m | ||
gateway.expected_nodes: 1 | ||
|
||
|
||
############################# Cluster management ############################# | ||
cluster.routing.allocation.node_initial_primaries_recoveries: 4 | ||
cluster.routing.allocation.node_concurrent_recoveries: 2 | ||
cluster.routing.allocation.disk.watermark.low: 90% | ||
cluster.routing.allocation.disk.watermark.high: 95% | ||
|
||
|
||
################################### Indices ################################## | ||
indices.recovery.max_bytes_per_sec: 50mb | ||
indices.fielddata.cache.size: 100M | ||
|
||
|
||
################################## Discovery ################################# | ||
discovery.zen.minimum_master_nodes: 1 | ||
discovery.zen.ping_timeout: 5s | ||
|
||
|
||
################################### Safety ################################### | ||
action.destructive_requires_name: true | ||
|
||
################################# Scripting ################################## | ||
#script.inline: true |
Oops, something went wrong.