Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

elk: increase default resources #1569

Merged
merged 1 commit into from
Jun 21, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions roles/elasticsearch/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ Default Configuration
---------------------

The default configuration of the Elasticsearch cluster will require at least 4
worker nodes, each having at least 1 full CPU and 1 GB of memory available to
Mesos. In addition, each worker node will need to have at least 5 GBs of free
worker nodes, each having at least 1 full CPU and 2+ GBs of memory available to
Mesos. In addition, each worker node will need to have at least 10 GBs of free
disk space.

While a cluster of this size will be sufficient to evaluate and test
Expand Down Expand Up @@ -143,14 +143,14 @@ Variables
The amount of memory to allocate to each Elasticsearch executor instance
(MB).

default: 1024
default: 2048

.. data:: elasticsearch_disk

The amount of Disk resource to allocate to each Elasticsearch executor
instance (MB).

default: 5120
default: 10240

.. data:: elasticsearch_cpu

Expand Down Expand Up @@ -196,7 +196,7 @@ Variables

The version of the Elasticsearch mesos framework.

default: "1.0.1"
default: "1.0.1-1"

.. data:: elasticsearch_framework_name

Expand Down Expand Up @@ -255,7 +255,7 @@ Variables

The amount of memory to allocate to the Elasticsearch client node (MB).

default: 1024
default: 2048

.. data:: elasticsearch_client_java_opts

Expand Down
8 changes: 4 additions & 4 deletions roles/elasticsearch/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
# elasticsearch framework
elasticsearch_java_opts: "-Xms1g -Xmx1g"
elasticsearch_ram: 1024
elasticsearch_executor_ram: 1024
elasticsearch_disk: 5120
elasticsearch_executor_ram: 2048
elasticsearch_disk: 10240
elasticsearch_cpu: 1.0
elasticsearch_executor_cpu: 1.0
elasticsearch_nodes: 3
elasticsearch_cluster_name: mantl
elasticsearch_service: elasticsearch-mantl
elasticsearch_executor_name: elasticsearch-executor-mantl
elasticsearch_framework_version: 1.0.1
elasticsearch_framework_version: 1.0.1-1
elasticsearch_framework_name: mantl/elasticsearch
elasticsearch_framework_ui_port: 31100

Expand All @@ -21,7 +21,7 @@ elasticsearch_client_elasticsearch_service: transport_port.{{ elasticsearch_exec
elasticsearch_client_client_port: 9200
elasticsearch_client_transport_port: 9300
elasticsearch_client_cpu: 1
elasticsearch_client_ram: 1024
elasticsearch_client_ram: 2048
elasticsearch_client_java_opts: "-Xms1g -Xmx1g"

es_packages:
Expand Down
12 changes: 6 additions & 6 deletions roles/kibana/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,13 @@ Variables

The amount of CPU resources to allocate to each Kibana instance (Kibana on Marathon).

default: 0.5
default: 1.0

.. data:: kibana_ram

The amount of memory to allocate to each instance of Kibana (MB) (Kibana on Marathon).

default: 512
default: 1024

.. data:: kibana_instances

Expand Down Expand Up @@ -172,28 +172,28 @@ Variables
The amount of CPU resources to allocate to the Kibana framework scheduler
(Kibana Mesos framework).

default: 0.2
default: 0.5

.. data:: kibana_mesos_scheduler_ram

The amount of memory to allocate to the Kibana framework scheduler (MB)
(Kibana Mesos framework).

default: 256
default: 512

.. data:: kibana_mesos_executor_cpu

The amount of CPU resources to allocate to each Kibana executor instance
(Kibana Mesos framework).

default: 0.5
default: 1.0

.. data:: kibana_mesos_executor_ram

The amount of memory to allocate to each Kibana executor instance (MB)
(Kibana Mesos framework).

default: 512
default: 1024

.. data:: kibana_mesos_instances

Expand Down
12 changes: 6 additions & 6 deletions roles/kibana/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ kibana_id: mantl/kibana
kibana_service: kibana-mantl
kibana_image: ciscocloud/mantl-kibana:4.3.2.1
kibana_elasticsearch_service: elasticsearch-client-mantl
kibana_cpu: 0.5
kibana_ram: 512
kibana_cpu: 1.0
kibana_ram: 1024
kibana_instances: 1

# kibana mesos framework
Expand All @@ -20,10 +20,10 @@ kibana_mesos_service: kibana-mantl
kibana_mesos_image: ciscocloud/mantl-kibana:4.3.2.1
kibana_mesos_elasticsearch_service: elasticsearch-client-mantl
kibana_mesos_kibana_service: "{{ kibana_mesos_framework_name }}-task"
kibana_mesos_scheduler_cpu: 0.2
kibana_mesos_scheduler_ram: 256
kibana_mesos_executor_cpu: 0.5
kibana_mesos_executor_ram: 512
kibana_mesos_scheduler_cpu: 0.5
kibana_mesos_scheduler_ram: 512
kibana_mesos_executor_cpu: 1.0
kibana_mesos_executor_ram: 1024
kibana_mesos_instances: 1

kibana_packages:
Expand Down