-
Notifications
You must be signed in to change notification settings - Fork 39.8k
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
Add bind mount /etc/resolv.conf from host to containerized mounter #42376
Conversation
Currently, in containerized mounter rootfs, there is no DNS setup. By bind mount the host's /etc/resolv.conf to mounter rootfs, vm hosts name could be resolved when using host name during mount.
@k8s-bot test this |
Is this a bug? If yes, can you update the description to indicate why its a bug and the potential impact from a user perspective? |
@k8s-bot gce etcd3 e2e test this |
@k8s-bot test this |
@k8s-bot gci gke e2e test this |
@k8s-bot cvm gke e2e test this |
@jingxu97: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
I'm cleaning out the milestone since we're coming up on the cut. This doesn't seem to be a release-blocker. |
This PR hasn't been active in 90 days. Closing this PR. Please reopen if you would like to work towards merging this change, if/when the PR is ready for the next round of review. You can add 'keep-open' label to prevent this from happening again, or add a comment to keep it open another 90 days |
@k8s-bot test this |
/assign @saad-ali |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: jingxu97, saad-ali Assign the PR to them by writing No associated issue. Update pull-request body to add a reference to an issue, or get approval with The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
/retest |
Added a release note |
Automatic merge from submit-queue (batch tested with PRs 43558, 48261, 42376, 46803, 47058) |
This PR helps solve the issue in #48212 |
Cherrypick approved. Automated cherrypick PR is in #48689 |
This has been cherry-picked to 1.7, let's cherry pick to 1.6 |
Commit found in the "release-1.6" branch appears to be this PR. Removing the "cherrypick-candidate" label. If this is an error find help to get your PR picked. |
Should this work in 1.8.3? |
@Maannniii: You can't reopen an issue/PR unless you authored it or you are a collaborator. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Currently, in containerized mounter rootfs, there is no DNS setup. If client
try to set up volume with host name instead of IP address, it will fail to resolve
the host name.
By bind mount the host's /etc/resolv.conf to mounter rootfs, VM hosts name
could be resolved when using host name during mount.
This PR fixes issue #48212