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

Add custom dns manifests needed to connect to infra #631

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tssala23
Copy link
Contributor

@tssala23 tssala23 commented Jan 6, 2025

For cluster created using ESI there are some additional steps needed to connect the to the infra cluster due to our current network step up.
Adding the nerc-infra-routed network to each node is the first step.
The second is to set up custom dns on the cluster using these manifests to resolve the host name

@tssala23 tssala23 marked this pull request as draft January 6, 2025 18:57
@tssala23 tssala23 requested a review from larsks January 6, 2025 19:02
@tssala23
Copy link
Contributor Author

tssala23 commented Jan 7, 2025

It would also require a patch to the dns operator that would look like this:

dns-patch.yaml

spec:
  servers:
  - name: mydomain
    zones:
    - mydomain.org
    forwardPlugin:
      policy: Random
      upstreams:
      - <cluster-ip>:8053 #oc -n custom-dns get svc --no-headers | awk '{ print $3 }'

However I am not sure exactly where that would go

@larsks
Copy link
Member

larsks commented Jan 7, 2025

You can use the service name instead of an ip address for specifying the custom server, like this:

  servers:
  - forwardPlugin:
      policy: Random
      upstreams:
      - custom-dns.custom-dns.svc.cluster.local:8053

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

Successfully merging this pull request may close these issues.

2 participants