Skip to content

kapilt/charm-consul

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Consul provides several core features

  • Service Discovery via dns or http
  • Health Checking (interops with nagios)
  • Key/Value Store
  • Multiple data center support

Usage

The Consul charm exposes a few high level configuration options.

Consul can be deployed via the cli with:

$ juju deploy -n 3 cs:~hazmat/trusty/consul

Note consul requires multiple units at the moment before it will establish itself as operational in order to ensure a quorum.

After consul is deployed we can either use it directly with consul-agent or a the container-discovery subordinate charms.

The consul agent requires explicit service configuration.

The container discovery automates the registration of docker containers into the discovery system.

Todo

  • convert consul.json to directory to allow for dropping in watch checks and health
  • support tls/ssl for client api protocol

About

Consul Service Discovery and orchestration via a juju charm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published