Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Reverse proxy lifecycle management and connectivity on Docker #1906

Merged
merged 40 commits into from
Dec 8, 2023

Conversation

laurentluce
Copy link
Contributor

@laurentluce laurentluce commented Dec 6, 2023

Description:

In #1871 we added the Traefik labels to the user services so Traefik can discover them and route to them. This PR implements a reverse proxy using Traefik on Docker. The engine starts and stops Traefik. The Traefik container is automatically connected to the enclave networks. The implementation leverages what was done for the logs aggregator.

Is this change user facing?

YES

References (if applicable):

#1871

@laurentluce laurentluce requested a review from tedim52 December 7, 2023 02:34
@laurentluce laurentluce added this pull request to the merge queue Dec 8, 2023
Merged via the queue into main with commit 69c5b27 Dec 8, 2023
34 checks passed
@laurentluce laurentluce deleted the laurent/traefik-container branch December 8, 2023 21:43
@adschwartz adschwartz restored the laurent/traefik-container branch December 8, 2023 22:09
github-merge-queue bot pushed a commit that referenced this pull request Dec 11, 2023
🤖 I have created a release *beep* *boop*
---


##
[0.85.43](0.85.42...0.85.43)
(2023-12-11)


### Features

* Add new ports view to the EM UI
([#1919](#1919))
([027d74b](027d74b))
* add REST API bindings for TS and Golang
([#1907](#1907))
([97b9b80](97b9b80))
* add support for public ports
([#1905](#1905))
([97a3d95](97a3d95))
* enable building images in docker [image building pt. 1]
([#1911](#1911))
([c153873](c153873))
* Reverse proxy lifecycle management and connectivity on Docker
([#1906](#1906))
([69c5b27](69c5b27))
* service logs full download
([#1895](#1895))
([b91333f](b91333f))
* Unified REST API
([c3911f6](c3911f6))


### Bug Fixes

* add installation description for oapi-codegen
([#1917](#1917))
([8f2427b](8f2427b))
* Fix doc checker CI
([#1912](#1912))
([cc2696d](cc2696d))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: kurtosisbot <[email protected]>
github-merge-queue bot pushed a commit that referenced this pull request Dec 11, 2023
## Description:
Docker Traefik is currently configured to route traffic based on three
custom headers: enclave short uuid, service short uuid and port number.
This type of routing rule is not possible with the K8S Ingress provider
so we are switching to use the single Host header instead with the
format: `<port number>-<service short uuid>-<enclave short uuid>`.

## Is this change user facing?
NO

## References (if applicable):
#1906
h4ck3rk3y added a commit that referenced this pull request Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants