cloud-cluster

command module
v0.0.0-...-dbfa1ae Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2019 License: MPL-2.0 Imports: 4 Imported by: 0

README

Cloud-Cluster

This repo contains a set of utilities to deploy and bootstrap clusters using cloud tools developed by Hashicorp. It is based on the framework used in Nomad.

The nodes of the cluster use Consul to register themselves (with a specific service name) and query for other nodes that belong to the cluster. Then, new nodes found on Consul are piped into Serf to check for membership and failure detection. It can also use Raft to provide a shared state between the servers.

TODO

  • Use consul connect to proxy communications.
  • Docker with redis.
  • Can new instances become raft-leaders? They should not if their state is not fully synced (Nomad?).

Usage

With a configuration file:

ports = {
    serf = 5000
    rpc = 6000
}

backend "redis" {}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
backend
helper

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL