Go to file
Mathilde Gilles a1ec792acc Fix: service LocallyRegisteredAsSidecar property is not persisted
When a service is deregistered, we check whever matching services were
registered as sidecar along with it and deregister them as well.
To determine if a service is indeed a sidecar we check the
structs.ServiceNode.LocallyRegisteredAsSidecar property. However, to
avoid interal API leakage, it is excluded from JSON serialization,
meaning it is not persisted to disk either.
When the agent is restarted, this property lost and sidecars are no
longer deregistered along with their parent service.
To fix this, we now specifically save this property in the persisted
service file.
2020-10-13 19:38:58 +02:00
.changelog Fix: service LocallyRegisteredAsSidecar property is not persisted 2020-10-13 19:38:58 +02:00
.circleci ci: fix bindata autoupdate (#8801) 2020-10-02 15:23:38 -04:00
.github
acl
agent Fix: service LocallyRegisteredAsSidecar property is not persisted 2020-10-13 19:38:58 +02:00
api api: support GetMeta() and GetNamespace() on all config entry kinds (#8764) 2020-09-29 09:11:57 -05:00
bench
build-support Update all the references in CI and makefile to the bindata file location 2020-10-01 16:19:10 +01:00
command add -list-primary to `consul keyring` command (#8692) 2020-09-24 20:04:20 +02:00
connect
contributing
demo
internal/go-sso
ipaddr
lib
logging Refactor uiserver to separate package, cleaner Reloading 2020-10-01 11:32:25 +01:00
proto proto: Add a round trip test for converting types 2020-09-28 18:28:37 -04:00
sdk
sentinel
service_os
snapshot
terraform
test agent: enable enable_central_service_config by default (#8746) 2020-10-01 09:19:14 -05:00
testrpc
tlsutil
types
ui-v2 ci: fix bindata autoupdate (#8801) 2020-10-02 15:23:38 -04:00
vendor Vendor gofuzz and google/go-cmp 2020-09-28 18:28:37 -04:00
version
website Merge pull request #8271 from coignetp/http-metrics-label 2020-10-02 13:41:48 -07:00
.dockerignore
.gitattributes
.gitignore
.golangci.yml
.hashibot.hcl
CHANGELOG.md fix typo in 1.8.4 changelog line 2020-09-17 11:30:52 -05:00
GNUmakefile ci: fix bindata autoupdate (#8801) 2020-10-02 15:23:38 -04:00
INTERNALS.md
LICENSE
NOTICE.md
README.md Added docs link to Learn tutorial for Kind. (#8610) 2020-09-11 17:03:35 -04:00
Vagrantfile
codecov.yml Update all the references in CI and makefile to the bindata file location 2020-10-01 16:19:10 +01:00
go.mod Vendor gofuzz and google/go-cmp 2020-09-28 18:28:37 -04:00
go.sum Vendor gofuzz and google/go-cmp 2020-09-28 18:28:37 -04:00
main.go
main_test.go
package-lock.json

README.md

Consul CircleCI Discuss

Consul is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure.

Consul provides several key features:

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

  • Service Mesh/Service Segmentation - 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.

  • 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.

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 available on the Consul website:

https://www.consul.io/docs

Contributing

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