Skip to content

Commit

Permalink
Set all indices to expect 0 replicas
Browse files Browse the repository at this point in the history
  • Loading branch information
V-Brooks authored Jan 10, 2025
1 parent 6f41c80 commit c4e6324
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/roles/elasticsearch/templates/elasticsearch.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,21 @@

################################### Cluster ###################################

# Cluster name identifies your cluster for auto-discovery. If you're running
# multiple clusters on the same network, make sure you're using unique names.
# Cluster name identifies your cluster for auto-discovery. If you are running
# multiple clusters on the same network, make sure you are using unique names.
#
cluster.name: "{{ elasticsearch_cluster_name }}"


#################################### Node #####################################

# Node names are generated dynamically on startup, so you're relieved
# Node names are generated dynamically on startup, so you are relieved
# from configuring them manually. You can tie this node to a specific name:
#
node.name: "{{ elasticsearch_node_name }}"


# Set default number of replicas to 0 for single-node deployment
index.number_of_replicas: 0

#################################### Paths ####################################

Expand Down

0 comments on commit c4e6324

Please sign in to comment.