Skip to content

Instantly share code, notes, and snippets.

@thebennos
Forked from ianneub/crate.yml
Last active December 19, 2015 00:12
Show Gist options
  • Select an option

  • Save thebennos/036f6a545467da323a9b to your computer and use it in GitHub Desktop.

Select an option

Save thebennos/036f6a545467da323a9b to your computer and use it in GitHub Desktop.
Tutum.co stack yaml to create a crate.io cluster
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
@thebennos
Copy link
Author

TUTUM an open port is loadbalanced in a stack so one port opened for all.

@thebennos
Copy link
Author

No target number containers to scale this up without hassle.

@thebennos
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment