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

Scaling

Andrew edited this page Mar 29, 2022 · 1 revision

Scaling out pfelk

Replace docker-compose.yml with this version of docker-compose.yml

(0) Prerequisites

  • Please visit the following documentation for additional details.

  • Randomize published ports

  • Use either --publish-all or enable random ports for hosts, for example:

  elasticsearch:
    ports:
      - '9200'

Enable the data path to be shared by multiple nodes

  • For example, if you want to scale out to 3 nodes, use the following value:
  elasticsearch:
    environment:
      node.max_local_storage_nodes: '3'

(1) Scale out pfelk

  • Scale out your deployment to 3 nodes by running the following command:
sudo docker-compose up -d --scale pfelk=3