Skip to content

fix: Clear DNS search paths in kind cluster configuration - #412

Merged
kalbasit merged 2 commits into
mainfrom
fix-k8s-cluster
Jan 2, 2026
Merged

kalbasit merged 2 commits into
mainfrom
fix-k8s-cluster

Conversation

@kalbasit

@kalbasit kalbasit commented Jan 2, 2026

Copy link
Copy Markdown
Owner

Disable DNS search in Kind cluster to prevent DNS resolution issues

This PR disables DNS search in the Kind cluster configuration by adding networking.dnsSearch: [] to the cluster spec. This prevents potential DNS resolution issues that can occur when the host's search domains are inherited by containers in the cluster.

This fixes the cluster on NixOS.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @kalbasit, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on enhancing the stability of Kind clusters by modifying their DNS configuration. It prevents potential DNS resolution issues, particularly those encountered on NixOS, by explicitly clearing DNS search paths within the cluster's networking settings. This ensures a more predictable and isolated networking environment for the cluster's containers.

Highlights

  • DNS Configuration: The pull request introduces a change to the Kind cluster configuration to explicitly disable DNS search paths.
  • Issue Resolution: By adding networking.dnsSearch: [] to the cluster spec, the PR aims to prevent potential DNS resolution issues that can arise from containers inheriting host search domains.
  • NixOS Compatibility: This fix specifically addresses and resolves cluster stability problems observed on NixOS environments.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution. ↩

@dosubot

dosubot Bot commented Jan 2, 2026 •

Copy link
Copy Markdown

Related Documentation

Checked 7 published document(s) in 0 knowledge base(s). No updates required.

How did I do? Any feedback?  Join Discord

@gemini-code-assist gemini-code-assist Bot left a comment

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.

Code Review

This pull request correctly addresses potential DNS resolution issues in the Kind development cluster by clearing the DNS search paths. This is a good practice to ensure a more isolated and predictable DNS environment within the cluster. My feedback includes a suggestion to add a comment to the configuration to explain the purpose of this change for future maintainability.

Comment thread dev-scripts/k8s-cluster.sh Resolved
@kalbasit
kalbasit changed the base branch from update-claud-config to graphite-base/412 January 2, 2026 05:02
@kalbasit
kalbasit changed the base branch from graphite-base/412 to main January 2, 2026 05:04
@kalbasit
kalbasit merged commit 7724df5 into main Jan 2, 2026

kalbasit commented Jan 2, 2026

Copy link
Copy Markdown
Owner Author

Merge activity

@kalbasit
kalbasit deleted the fix-k8s-cluster branch January 2, 2026 05:30
@kalbasit kalbasit added this to the v0.6.0 - High Availability milestone Jan 5, 2026
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.

1 participant