-
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
Provide option to enforce network connection rate limiting #13891
Conversation
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.
Once question, others LGTM
if config.NetLimit.Enabled { | ||
netlimiter.Update(config.NetLimit) | ||
} | ||
return nil |
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.
Are we able to disable netlimit without manually restarting ws-daemon?
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.
We are not able to completely disable it without restarting ws-daemon, but we can disable that traffic is dropped. In other words it would work like it does at the moment where the traffic is monitored but no action is taken.
/werft run with-integration-tests=workspace with-large-vm=true 👍 started the job as gitpod-build-fo-enforce-limiting.3 |
@Furisto @jenting it's best to assert that tests pass prior to approving PRs. Otherwise we could potentially break main. 🙏 Please refer to our reviewing code section for background. |
/hold Let's wait for tests to pass. Please remove this hold once tests are passing. |
/unhold Tests are passing |
Description
Provide an option to drop traffic if network connections go over the configured limit. Also changes to the netlimit configuration can now be applied without having to restart ws-daemon.
Related Issue(s)
n.a.
How to test
Release Notes
Werft options:
If enabled this will build
install/preview
Valid options are
all
,workspace
,webapp
,ide