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

Simplify node local dns #10059

Merged
merged 2 commits into from
Oct 16, 2020
Merged

Conversation

olemarkus
Copy link
Member

Since we actually control the kubelet cluster dns IP we don't need to make things complex with iptables rules and complex port bindings.
That upstream defaults to these is only to make things simpler for those deploying this to vendor managed k8s clusters.

I think other maintainers suggested this when reviewing the PR that introduced this addon.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Oct 16, 2020
Ole Markus With added 2 commits October 16, 2020 12:46
Since we use the local IP we don't need the iptables rule for the cluster dns IP
@olemarkus
Copy link
Member Author

/test pull-kops-e2e-cni-kuberouter

@k8s-ci-robot k8s-ci-robot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Oct 16, 2020
@hakman
Copy link
Member

hakman commented Oct 16, 2020

/test pull-kops-e2e-cni-calico

@hakman
Copy link
Member

hakman commented Oct 16, 2020

/retest

@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Oct 16, 2020
@hakman
Copy link
Member

hakman commented Oct 16, 2020

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 16, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hakman, olemarkus

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 16, 2020
@k8s-ci-robot k8s-ci-robot merged commit e3b050a into kubernetes:master Oct 16, 2020
@k8s-ci-robot k8s-ci-robot added this to the v1.19 milestone Oct 16, 2020
k8s-ci-robot added a commit that referenced this pull request Oct 16, 2020
…059-origin-release-1.18

Automated cherry pick of #10059: Don't let node-local-dns add iptables rules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/addons cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants