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

fix: Ensure dns disabled for networks #3866

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jaitaiwan
Copy link
Contributor

Which issue this PR addresses:

Fixes a latency issue with outbound connections caused by the creation of dedicated podman networks.

What this PR does / why we need it:

Fix a regression in outbound connection latency.

Test plan for issue:

RP deploy

Full details

Podman creates the default bridge network with dns_enabled to false. Subsequent calls to podman network create then create bridge networks where dns_enabled is set to true causing containers on said network to make use of podman's dnsutil plugin. This results in latency issues for gateway connections.

This change ensures that networks created use similar settings to that of the default bridge network which has no latency issues.

Which issue this PR addresses:

Fixes

What this PR does / why we need it:

Test plan for issue:

Is there any documentation that needs to be updated for this PR?

How do you know this will function as expected in production?

Podman creates the default bridge network with dns_enabled to false.
Subsequent calls to podman network create then create bridge networks
where dns_enabled is set to true causing containers on said network to
make use of podman's dnsutil plugin. This results in latency issues for
gateway connections.

This change ensures that networks created use similar settings to that
of the default bridge network which has no latency issues.
@yjst2012
Copy link
Contributor

/azp run ci, e2e

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@SrinivasAtmakuri
Copy link
Collaborator

/azp run ci

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@github-actions github-actions bot added the needs-rebase branch needs a rebase label Sep 26, 2024
Copy link

Please rebase pull request.

@bitoku
Copy link
Collaborator

bitoku commented Oct 15, 2024

@jaitaiwan Is this PR still valid?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-rebase branch needs a rebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants