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: User service K8S ingresses for reverse proxy routing #1941

Merged
merged 19 commits into from
Dec 14, 2023

Conversation

laurentluce
Copy link
Contributor

@laurentluce laurentluce commented Dec 13, 2023

Description:

Similar to how we are adding Traefik labels for user services on Docker, we are adding a K8S ingress for each user service with a path per HTTP port so HTTP traffic can be routed to them.

Is this change user facing?

NO

References (if applicable):

#1871

@laurentluce laurentluce requested a review from lostbean December 13, 2023 20:53
Copy link
Contributor

@lostbean lostbean left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one small comment and one question but LGTM

@laurentluce laurentluce added this pull request to the merge queue Dec 14, 2023
Merged via the queue into main with commit c37dd7f Dec 14, 2023
35 checks passed
@laurentluce laurentluce deleted the laurent/k8s-ingresses branch December 14, 2023 19:23
h4ck3rk3y pushed a commit that referenced this pull request Dec 15, 2023
## Description:
Similar to how we are adding Traefik labels for user services on Docker,
we are adding a K8S ingress for each user service with a path per HTTP
port so HTTP traffic can be routed to them.

## Is this change user facing?
NO

## References (if applicable):
#1871
github-merge-queue bot pushed a commit that referenced this pull request Dec 15, 2023
## Description:
The user service K8S ingress labels need to be set properly so the
ingress can be found during retrieval and deletion operations.

## Is this change user facing?
NO

## References (if applicable):
#1941
github-merge-queue bot pushed a commit that referenced this pull request Dec 18, 2023
🤖 I have created a release *beep* *boop*
---


##
[0.85.49](0.85.48...0.85.49)
(2023-12-18)


### Features

* add production mode to k8s
([#1963](#1963))
([b0e27e6](b0e27e6))
* persistent volumes work on multi node k8s clusters
([#1943](#1943))
([b2fd9f2](b2fd9f2))
* User service K8S ingresses for reverse proxy routing
([#1941](#1941))
([c37dd7f](c37dd7f))


### Bug Fixes

* adding remove logs aggregator container function when it already
exists ([#1974](#1974))
([5d74d16](5d74d16))
* Do not fail if the Traefik config dir path already exists
([#1966](#1966))
([4e6f7d7](4e6f7d7))
* ignore the current status of the service during a start/stop
([#1965](#1965))
([1c4863f](1c4863f))
* refactor the emui components to the shared package
([#1959](#1959))
([a406973](a406973))
* Set the user service K8S ingress labels so it can be found
([#1962](#1962))
([9cc5f77](9cc5f77))

---
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]>
Co-authored-by: leoporoli <[email protected]>
github-merge-queue bot pushed a commit that referenced this pull request Jan 2, 2024
## Description:
Create engine K8S ingress for the REST API port so we can interact with
the API via Traefik. The `Host` header is set to `engine`.

Tested with k3d locally:
```
curl -i http://localhost:9730/engine/info -H "Host: engine"
HTTP/1.1 200 OK
...
{"engine_version":"ae7579"}
```

## Is this change user facing?
NO

## References (if applicable):
#1941
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants