-
Notifications
You must be signed in to change notification settings - Fork 326
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Overwrite k8s HTTP probes when transparent proxy is enabled. (#517)
When this is enabled, the mutating webhook will also overwrite the HTTP probes of the application container to point them to Envoy, while saving the original ports of the probes as annotations. The endpoints controller will set Expose configuration for the proxy, setting the LocalPathPort to the port saved in the annotation. - Add a new flag -transparent-proxy-default-overwrite-probes (default to true) to allow overwriting k8s probes. - Allow setting this on a per-pod basis via the "consul.hashicorp.com/transparent-proxy-overwrite-probes" annotation - Add new annotations to allow for choosing custom ports for Envoy listeners to expose readiness and liveness probes
- Loading branch information
Showing
7 changed files
with
827 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.