-
-
Save thebennos/036f6a545467da323a9b to your computer and use it in GitHub Desktop.
Tutum.co stack yaml to create a crate.io cluster
This file contains hidden or 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
| crate: | |
| image: 'crate:latest' | |
| deployment_strategy: high_availability | |
| environment: | |
| - CREATE_HEAP_SIZE=1g | |
| ports: | |
| - '32333:4200' | |
| command: > | |
| crate | |
| -Des.cluster.name=mynewcluster | |
| -Des.network.publish_host=_ethwe:ipv4_ | |
| -Des.network.bind_host=0.0.0.0 | |
| -Des.discovery.zen.minimum_master_nodes=2 | |
| -Des.gateway.expected_nodes=5 | |
| -Des.gateway.recover_after_nodes=3 |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
if scaling up to more then 5 nodes then these values must be adjusted
-Des.gateway.expected_nodes=5
-Des.gateway.recover_after_nodes=3