All Projects → dweomer → Docker Swarm Consul

dweomer / Docker Swarm Consul

Toward a Production-Ready Docker Swarm Cluster with Consul

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Docker Swarm Consul

Consul Alerts
A simple daemon to send notifications based on Consul health checks
Stars: ✭ 792 (+2375%)
Mutual labels:  consul
Consul Terraform Sync
Consul Terraform Sync is a service-oriented tool for managing network infrastructure near real-time.
Stars: ✭ 26 (-18.75%)
Mutual labels:  consul
Docker Discovery Registrator Consul
Service discovery library for JVM based applications running in Docker containers that use the Registrator service registry bridge with Consul as a backend
Stars: ✭ 21 (-34.37%)
Mutual labels:  consul
Fabio
Consul Load-Balancing made simple
Stars: ✭ 6,834 (+21256.25%)
Mutual labels:  consul
Sample Camel Spring Boot
three samples in different branches that illustrates usage of apache camel as microservice framework providing integration with consul, hystrix, ribbon and other tools
Stars: ✭ 24 (-25%)
Mutual labels:  consul
Go Micro Services
HTTP up front, Protobufs in the rear
Stars: ✭ 853 (+2565.63%)
Mutual labels:  consul
Istio
Connect, secure, control, and observe services.
Stars: ✭ 28,970 (+90431.25%)
Mutual labels:  consul
Docker learn
Docker学习教程笔记
Stars: ✭ 29 (-9.37%)
Mutual labels:  docker-swarm
Consul Conf
🐳 Consul.conf provides responsive web interface for managing configuration of your services in Consul key-value storage through beautiful and customizable dashboards, distributed as a lightweight Docker image.
Stars: ✭ 25 (-21.87%)
Mutual labels:  consul
Gentleman
Full-featured, plugin-driven, extensible HTTP client toolkit for Go
Stars: ✭ 886 (+2668.75%)
Mutual labels:  consul
Fabric Multi Network
Stars: ✭ 16 (-50%)
Mutual labels:  docker-swarm
Deploy Docker Swarm
Deploy scripts for docker-swarm.
Stars: ✭ 17 (-46.87%)
Mutual labels:  docker-swarm
Caprover
Scalable PaaS (automated Docker+nginx) - aka Heroku on Steroids
Stars: ✭ 7,964 (+24787.5%)
Mutual labels:  docker-swarm
Springcloud Learning
Spring Cloud基础教程,持续连载更新中
Stars: ✭ 6,839 (+21271.88%)
Mutual labels:  consul
Kong
🦍 The Cloud-Native API Gateway
Stars: ✭ 30,838 (+96268.75%)
Mutual labels:  consul
Spring Cloud Consul
Spring Cloud Consul
Stars: ✭ 703 (+2096.88%)
Mutual labels:  consul
Dockerfiles
50+ DockerHub public images for Docker & Kubernetes - Hadoop, Kafka, ZooKeeper, HBase, Cassandra, Solr, SolrCloud, Presto, Apache Drill, Nifi, Spark, Consul, Riak, TeamCity and DevOps tools built on the major Linux distros: Alpine, CentOS, Debian, Fedora, Ubuntu
Stars: ✭ 847 (+2546.88%)
Mutual labels:  consul
Constructr Consul
This library enables to use Consul as cluster coordinator in a ConstructR based node
Stars: ✭ 32 (+0%)
Mutual labels:  consul
Traefik
The Cloud Native Application Proxy
Stars: ✭ 36,089 (+112678.13%)
Mutual labels:  consul
Ufw Docker
To fix the Docker and UFW security flaw without disabling iptables
Stars: ✭ 878 (+2643.75%)
Mutual labels:  docker-swarm

[Toward a Production-Ready Docker Swarm Cluster with Consul] (https://medium.com/@dweomer/toward-a-production-ready-docker-swarm-cluster-with-consul-9ecd36533bb8)

Wherein I explore the requirements of, and develop a repeatable process for, standing up a moderately opinionated, production-ready Docker cluster using the community standard Engine, Machine, Swarm and Compose. HashiCorp Consul will be used as the key-value store for Swarm as well as providing a common discovery mechanism across all nodes.

Guiding Principles

  • Highly available and fault-tolerant key-value store
  • Highly available Swarm masters
  • Overlay networking
  • Repeatable, automation-ready setup
  • All cluster and node services delivered as containers
  • Smarter-than-default logging
  • Memory accounting configured in kernel

Getting Started

Initially this project is setup to support only Digital Ocean droplets running Ubuntu 15.10. It should be trivial to support other virtualization providers. See drivers/digitalocean.env

Install Docker Engine, Compose, and Machine

See:

Digital Ocean API Access Token

Mosey on over to Digital Ocean and setup an access token called docker-swarm-consul (or whatever floats your boat) and create a rcfile named ~/.digitalocean/docker-swarm-consul with content that looks something like this:

export DIGITALOCEAN_ACCESS_TOKEN="my-super-cool-access-token-hash"

This will be picked up automatically by drivers/digitalocean.env and sourced. If no such file exists you will want to otherwise setup an environment variable named DIGITALOCEAN_ACCESS_TOKEN before these humble scripts will work.

--

A Docker Swarm cluster leveraging Consul

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].