hashicorp / hashicorp/consul

Escape hatch overrides support in service-defaults

Open
#12,040 4 comments 0 reactions 0 assignees View on GitHub
theme/connect theme/envoy/xds type/enhancement
Dominant language
Go
Stars
30.1k
Forks
4.6k
Avg merge
1d 18h
Merged PRs (30d)
39

Description

It would be useful to support [escape hatch overrides](https://www.consul.io/docs/connect/proxies/envoy#escape-hatch-overrides) configuration in service-defaults.

Use cases:
- Useful to override envoy configs in kubernetes.
- We can set envoy configs at the service level rather than per instance level via [sidecar_service](https://www.consul.io/docs/connect/registration/sidecar-service) block. Helpful for VM workloads.
- Helpful to customize envoy to set up access logging, timeouts, circuit breakers, etc.

Currently we have option to do this via [proxy-defaults](https://www.consul.io/docs/connect/config-entries/proxy-defaults#config) but service level options would be more helpful especially since configs would differ from service to service.
Also [connect-proxy](https://www.consul.io/docs/connect/registration/service-registration) does not seem to be suitable for kubernetes workloads.

Contributor guide

Open the contributing guide

Research direction

Start by comparing the service-defaults and proxy-defaults configuration entries, then review the linked escape hatch overrides and sidecar_service documentation. Define how service-level Envoy overrides should work for Kubernetes and VM workloads; done means service-defaults supports the requested configuration and the documented use cases are covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
backend, distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.