Skip to content

USHIFT-6901: Add custom DNS config for microshift#1984

Open
pacevedom wants to merge 1 commit intoopenshift:masterfrom
pacevedom:USHIFT-6901
Open

USHIFT-6901: Add custom DNS config for microshift#1984
pacevedom wants to merge 1 commit intoopenshift:masterfrom
pacevedom:USHIFT-6901

Conversation

@pacevedom
Copy link
Copy Markdown
Contributor

No description provided.

@openshift-ci-robot
Copy link
Copy Markdown

openshift-ci-robot commented Apr 27, 2026

@pacevedom: This pull request references USHIFT-6901 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.0.0" version, but no target version was set.

Details

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Apr 27, 2026
@openshift-ci openshift-ci Bot requested review from dgoodwin and joelanford April 27, 2026 08:56
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Apr 27, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign jsafrane for approval. For more information see the Code Review Process.

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

Comment thread enhancements/microshift/microshift-custom-dns-configuration.md
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Apr 27, 2026

@pacevedom: all tests passed!

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-sigs/prow repository. I understand the commands that are listed here.

when new CoreDNS features are needed.
* Reflect changes to the custom Corefile at runtime without restarting
MicroShift.
* Maintain mutual exclusivity between custom DNS configuration and the
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I guess we'll have to throw in C2CC CoreDNS other-cluster forwarding, but it looks liek future me problem

contents, using the file content as the `Corefile` key value.

#### Runtime reload
A new file watcher, following the same pattern as `HostsWatcherManager` in
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is it a chance for common struct refactor?

Comment on lines +263 to +265
On systems using greenboot for health checking, a bad Corefile that breaks DNS
will cause health checks to fail, triggering an automatic rollback to the
previous deployment. This acts as a safety net, limiting the blast radius of
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think this warrants an investigation, ostree/bootc is doing some kind of merge for /etc. TBH I'm not even sure if a new image can deploy a new config? And if so, would rolling back really go back to previous config?
I think it should, only /var is not manipulated during those operations.

updates to work. If omitted, the user must restart CoreDNS pods manually.

## Open Questions
1. Should MicroShift provide a default Corefile as a reference file on disk
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Either that or in the docs. With observability I think we kind of do both...

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

Labels

jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants