-
-
Notifications
You must be signed in to change notification settings - Fork 395
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
how to set mtu for woodpecker-agent #1579
Comments
what image/plugin do you use to download stuff? |
I install woodpecker by helm:
|
@huaxk Did you find a solution? In drone you can set MTU: But using woodpecker, every docker build command gets stucked. |
@huaxk well we can do so too: https://woodpecker-ci.org/plugins/Docker%20Buildx -> Advanced Settings so this was a plugin question issue ... can I close this? |
@6543 I need to use Something about this: https://github.com/drone/charts/pull/109/files To ensure that the temporary Docker networks created by the runner also have the appropriate value, add env:
DRONE_RUNNER_NETWORK_OPTS: "com.docker.network.driver.mtu:12345" I think I need an option to set the MTU for the woodpecker agent dind |
If you can upgrade docker, then docker 24.0.0 solves this problem, you can configure {
"mtu": 1450,
"default-network-opts": {"bridge": {"com.docker.network.driver.mtu": "1450"}}
} references: |
Seems, this is not |
Seems like a question that looks resolved to me. I'll close, please comment if it's not clear |
Component
agent
Describe the bug
I installed woodpecker on k8s via helm, but cannot download large files in the image started by the agent with dind, the problem should be in the mtu value, it may be set to less than the default value 1500, such as 1300, but I can't find a way to set the mtu for the agent. This problem can be solved by setting env: DRONE_RUNNER_NETWORK_OPTS: "com.docker.network.driver.mtu:1300" in drone.
System Info
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: