Consul is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure.
 
 
 
 
 
 
Go to file
John Cowen 3eec5edadf
ui: Discovery-Chain: Cope with some edge case configs (#7174)
* ui: Discovery-Chain: Cope with redirects that have failovers

We found a few stranger configurations for discovery-chain, one of which
was redirects that can then failover.

We altered the parsing here to include 2 passes, one to organize the
nodes into resolvers and children/subsets based on the nodes themselves, which
includes adding the failovers to resolvers and subsets.

We then do a second pass which can more reliably figure out whether a
target is a redirect or a failover (target failovers don't have a
corresponding node), this then adds the redirect children to the already
exising resolver (from the first pass) and then checks if the redirect
also has failovers and adds those if so.

* ui: Check to see if we have a user configured default route or not

...if we don't add one so the visualization looks complete
2020-01-30 16:09:05 +00:00
.circleci Pass the git commits year through as an env var to the ui build (#7126) 2020-01-24 10:40:14 -05:00
.github bot: replace stalebot with hashibot (#7113) 2020-01-24 09:24:21 +01:00
acl
agent update bindata_assetfs.go 2020-01-24 17:08:21 +00:00
api Updates to Config Entries and Connect for Namespaces (#7116) 2020-01-24 10:04:58 -05:00
bench
build-support Pass the git commits year through as an env var to the ui build (#7126) 2020-01-24 10:40:14 -05:00
command Updates to Config Entries and Connect for Namespaces (#7116) 2020-01-24 10:04:58 -05:00
connect
contributing
demo
ipaddr
lib
logger
sdk Fix up formatting in sdk package (#7109) 2020-01-22 12:45:34 -06:00
sentinel
service_os
snapshot
terraform
test Updates to Config Entries and Connect for Namespaces (#7116) 2020-01-24 10:04:58 -05:00
testrpc connect: check if intermediate cert needs to be renewed. (#6835) 2020-01-17 23:27:13 +01:00
tlsutil agent: setup grpc server with auto_encrypt certs and add -https-port (#7086) 2020-01-22 11:32:17 +01:00
types
ui-v2 ui: Discovery-Chain: Cope with some edge case configs (#7174) 2020-01-30 16:09:05 +00:00
vendor raft: update raft to v1.1.2 (#7079) 2020-01-20 13:58:02 +01:00
version Release v1.7.0-beta3 2020-01-24 17:08:22 +00:00
website Add the v1/catalog/node-services/:node endpoint (#7115) 2020-01-24 09:27:25 -05:00
.dockerignore
.gitignore
.hashibot.hcl Revert "disable most of hashibot" 2020-01-27 09:39:58 +01:00
CHANGELOG.md Update CHANGELOG.md 2020-01-24 16:27:26 -08:00
GNUmakefile Pass the git commits year through as an env var to the ui build (#7126) 2020-01-24 10:40:14 -05:00
INTERNALS.md
LICENSE
NOTICE.md
README.md Merge pull request #7102 from hashicorp/david-yu-patch-2 2020-01-22 08:57:10 -08:00
Vagrantfile
codecov.yml
go.mod raft: update raft to v1.1.2 (#7079) 2020-01-20 13:58:02 +01:00
go.sum raft: update raft to v1.1.2 (#7079) 2020-01-20 13:58:02 +01:00
main.go
main_test.go

README.md

Consul CircleCI Discuss

Consul is a tool for service discovery and configuration. Consul is distributed, highly available, and extremely scalable.

Consul provides several key features:

  • Service Discovery - Consul makes it simple for services to register themselves and to discover other services via a DNS or HTTP interface. External services such as SaaS providers can be registered as well.

  • Health Checking - Health Checking enables Consul to quickly alert operators about any issues in a cluster. The integration with service discovery prevents routing traffic to unhealthy hosts and enables service level circuit breakers.

  • Key/Value Storage - A flexible key/value store enables storing dynamic configuration, feature flagging, coordination, leader election and more. The simple HTTP API makes it easy to use anywhere.

  • Multi-Datacenter - Consul is built to be datacenter aware, and can support any number of regions without complex configuration.

  • Service Segmentation/Service Mesh - Consul Connect enables secure service-to-service communication with automatic TLS encryption and identity-based authorization. Applications can use sidecar proxies in a service mesh configuration to establish TLS connections for inbound and outbound connections without being aware of Connect at all.

Consul runs on Linux, Mac OS X, FreeBSD, Solaris, and Windows. A commercial version called Consul Enterprise is also available.

Please note: We take Consul's security and our users' trust very seriously. If you believe you have found a security issue in Consul, please responsibly disclose by contacting us at security@hashicorp.com.

Quick Start

A few quick start guides are available on the Consul website:

Documentation

Full, comprehensive documentation is viewable on the Consul website:

https://www.consul.io/docs

Contributing

Thank you for your interest in contributing! Please refer to CONTRIBUTING.md for guidance.