Paul Banks
e812f5516a
- A new endpoint `/v1/agent/service/:service_id` which is a generic way to look up the service for a single instance. The primary value here is that it: - **supports hash-based blocking** and so; - **replaces `/agent/connect/proxy/:proxy_id`** as the mechanism the built-in proxy uses to read its config. - It's not proxy specific and so works for any service. - It has a temporary shim to call through to the existing endpoint to preserve current managed proxy config defaulting behaviour until that is removed entirely (tested). - The built-in proxy now uses the new endpoint exclusively for it's config - The built-in proxy now has a `-sidecar-for` flag that allows the service ID of the _target_ service to be specified, on the condition that there is exactly one "sidecar" proxy (that is one that has `Proxy.DestinationServiceID` set) for the service registered. - Several fixes for edge cases for SidecarService - A fix for `Alias` checks - when running locally they didn't update their state until some external thing updated the target. If the target service has no checks registered as below, then the alias never made it past critical. |
6 years ago | |
---|---|---|
.github | Contribution guide (#4704) | 6 years ago |
acl |
…
|
|
agent | Add -sidecar-for and new /agent/service/:service_id endpoint (#4691) | 6 years ago |
api | Add -sidecar-for and new /agent/service/:service_id endpoint (#4691) | 6 years ago |
bench |
…
|
|
build-support |
…
|
|
command | Add -sidecar-for and new /agent/service/:service_id endpoint (#4691) | 6 years ago |
connect | Add -sidecar-for and new /agent/service/:service_id endpoint (#4691) | 6 years ago |
demo |
…
|
|
ipaddr |
…
|
|
lib |
…
|
|
logger |
…
|
|
sentinel |
…
|
|
service_os |
…
|
|
snapshot |
…
|
|
terraform |
…
|
|
test |
…
|
|
testrpc |
…
|
|
testutil |
…
|
|
tlsutil |
…
|
|
types |
…
|
|
ui |
…
|
|
ui-v2 | ui: Move the text encoding polyfill to a a proper detecting polyfill (#4767) | 6 years ago |
vendor |
…
|
|
version |
…
|
|
watch | Add -sidecar-for and new /agent/service/:service_id endpoint (#4691) | 6 years ago |
website | Add Proxy Upstreams to Service Definition (#4639) | 6 years ago |
.dockerignore |
…
|
|
.gitignore |
…
|
|
.travis.yml |
…
|
|
CHANGELOG.md | Update CHANGELOG.md | 6 years ago |
GNUmakefile |
…
|
|
INTERNALS.md | docs: correct link to top level agent package (#4750) | 6 years ago |
LICENSE |
…
|
|
NOTICE.md |
…
|
|
README.md | Contribution guide (#4704) | 6 years ago |
Vagrantfile |
…
|
|
main.go |
…
|
|
main_test.go |
…
|
README.md
Consul
- Website: https://www.consul.io
- Chat: Gitter
- Mailing list: Google Groups
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 - Consul Connect enables secure service-to-service communication with automatic TLS encryption and identity-based authorization.
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
An extensive quick start is viewable on the Consul website:
https://www.consul.io/intro/getting-started/install.html
Documentation
Full, comprehensive documentation is viewable on the Consul website:
Contributing
Thank you for your interest in contributing! Please refer to CONTRIBUTING.md for guidance.