Skip to content

Remove coredns from on-prem platforms#2450

Closed
cybertron wants to merge 1 commit intoopenshift:masterfrom
cybertron:drop-coredns
Closed

Remove coredns from on-prem platforms#2450
cybertron wants to merge 1 commit intoopenshift:masterfrom
cybertron:drop-coredns

Conversation

@cybertron
Copy link
Copy Markdown
Member

The only thing we have to use coredns for at this point is node
name resolution, and it turns out we don't actually need that anymore.
The internal records it provides can be just as easily provided by
dnsmasq running on the host and then we don't have to deploy and
manage an extra pod with its attendant init and monitor containers.
It also means we can remove the mdns-publisher pod.

- What I did

- How to verify it

- Description for the changelog

The only thing we have to use coredns for at this point is node
name resolution, and it turns out we don't actually need that anymore.
The internal records it provides can be just as easily provided by
dnsmasq running on the host and then we don't have to deploy and
manage an extra pod with its attendant init and monitor containers.
It also means we can remove the mdns-publisher pod.
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: cybertron
To complete the pull request process, please assign yuqi-zhang after the PR has been reviewed.
You can assign the PR to them by writing /assign @yuqi-zhang in a comment when ready.

The full list of commands accepted by this bot can be found here.

Details 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

Copy link
Copy Markdown
Member Author

@cybertron cybertron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/hold

This should probably wait on the outcome of openshift/enhancements#654 as it's making a lot of the same architectural changes as that enhancement.

@@ -0,0 +1,10 @@
name: on-prem-dnsmasq.service
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure we actually need a separate service for this now that it's being run as vanilla dnsmasq. I'm also not sure if there's a simple way to enable an existing OS service using MCO. I'm open to suggestions.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would prefet to have a separate service or a systemctl override of the default one.

@cybertron
Copy link
Copy Markdown
Member Author

/test e2e-metal-ipi

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 21, 2021

@cybertron: The following tests failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/e2e-aws-workers-rhel7 b808188 link /test e2e-aws-workers-rhel7
ci/prow/e2e-gcp-op b808188 link /test e2e-gcp-op
ci/prow/e2e-aws-serial b808188 link /test e2e-aws-serial
ci/prow/images b808188 link /test images
ci/prow/e2e-agnostic-upgrade b808188 link /test e2e-agnostic-upgrade

Full PR test history. Your PR dashboard.

Details

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.

@openshift-bot
Copy link
Copy Markdown
Contributor

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci openshift-ci Bot added lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Aug 19, 2021
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Aug 19, 2021

@cybertron: PR needs rebase.

Details

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.

@openshift-bot
Copy link
Copy Markdown
Contributor

Stale issues rot after 30d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle rotten
/remove-lifecycle stale

@openshift-ci openshift-ci Bot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Sep 18, 2021
@openshift-bot
Copy link
Copy Markdown
Contributor

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

@openshift-ci openshift-ci Bot closed this Oct 18, 2021
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Oct 18, 2021

@openshift-bot: Closed this PR.

Details

In response to this:

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants