-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[ws-proxy] Decouple ws-proxy from ws-manager #6462
Conversation
/werft run 👍 started the job as gitpod-build-aledbf-wsproxy.2 |
Codecov Report
@@ Coverage Diff @@
## main #6462 +/- ##
==========================================
+ Coverage 7.09% 37.51% +30.42%
==========================================
Files 10 19 +9
Lines 930 4555 +3625
==========================================
+ Hits 66 1709 +1643
- Misses 862 2713 +1851
- Partials 2 133 +131
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
7525fcf
to
40b87e6
Compare
6be68b6
to
64f4bc9
Compare
6e2d4c5
to
3b3f2d1
Compare
/werft run 👍 started the job as gitpod-build-aledbf-wsproxy.24 |
3b3f2d1
to
438daf9
Compare
b8afa3f
to
db25bbd
Compare
components/ws-manager/pkg/manager/testdata/controlPort_changeVisibility.golden
Outdated
Show resolved
Hide resolved
components/ws-manager/pkg/manager/testdata/status_cannotPull_004_CREATING00.golden
Outdated
Show resolved
Hide resolved
components/ws-manager/pkg/manager/testdata/status_failedTheiaMount_PENDING00.golden
Outdated
Show resolved
Hide resolved
ServiceTemplate string `json:"serviceTemplate"` | ||
PortServiceTemplate string `json:"portServiceTemplate"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
1f8928b
to
6e5b3f8
Compare
/werft run 👍 started the job as gitpod-build-aledbf-wsproxy.48 |
/werft run 👍 started the job as gitpod-build-aledbf-wsproxy.49 |
ce67576
to
6c31254
Compare
/hold cancel |
Tested these things:
All worked like a treat, and much quicker than before ✅ |
/approve |
/lgtm Codewise, I admit I didn't test |
/lgtm |
LGTM label has been added. Git tree hash: c6f3fd7c2a67d17a744a3d2f2d21278ecb55c413
|
/approve looks good and works like a charm! 🚀 |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: corneliusludmann, csweichel, JanKoehnlein Associated issue: #6441 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Description
This refactoring removes the use of services to export workspace ports, using the pod directly instead.
Changing the default behavior, we do not rely on DNS to route traffic to the workspace (ws-..cluster.local:) anymore, and instead, we use the pod IP address. This removes issues related to DNS queries, timeous, or UDP connection tracking (iptables).
A side effect of this change is kube-dns do not store information about the workspaces (services) anymore. This will reduce the load on that component.
Changes:
gitpod/exposedPorts
)Related Issue(s)
fixes #6441
fixes #6325
How to test
Open a workspace. The improvement of speed to expose ports should be noticeable.
Executing
kubectl get svc
should not return any services related to workspaces.Things to test:
experimentalNetwork: true
in the.gitpod.yml
Release Notes