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

[FEATURE] dns for host at host.k3d.local #350

Closed
blaggacao opened this issue Sep 12, 2020 · 2 comments · Fixed by #360
Closed

[FEATURE] dns for host at host.k3d.local #350

blaggacao opened this issue Sep 12, 2020 · 2 comments · Fixed by #360
Assignees
Labels
enhancement New feature or request priority/medium
Milestone

Comments

@blaggacao
Copy link

blaggacao commented Sep 12, 2020

Scope of your request

  • cluster create or cluster start

Describe the solution you'd like

https://minikube.sigs.k8s.io/docs/handbook/host-access/#hostminikubeinternal

Describe alternatives you've considered

I think injecting a DNS alias for the local host into the kube dns server is genious. This makes dev environments much more portable where the cluster needs to talk to a legacy host service. It might be relatively common to desire spawning a service on the host for development purpose (eg. persistent database — without the complexity). I had a concrete case where I was manually adding a Service + Endpoint object to expose the local IP address as a cluster service and it's a very, very brittle solution since any accidential selector (eg. injected by an overarching kustomize workflow throgh transformers) brakes the Service's bond to the Endpoint. I additionally stashed a local patch with my current IP address to make it run on my machine.

@blaggacao blaggacao added the enhancement New feature or request label Sep 12, 2020
@blaggacao blaggacao changed the title [FEATURE] [FEATURE] dns for host at host.k3d.local Sep 12, 2020
@bitjson
Copy link

bitjson commented Sep 21, 2020

I'm also very interested in a development workflow for accessing services running on the host (not in the cluster).

Related issue: #101

@iwilltry42
Copy link
Member

Here's a test-release of #360 : https://github.com/rancher/k3d/releases/tag/v3.1.0-dev.0
Please give it a try and leave feedback on #360 👍

@iwilltry42 iwilltry42 modified the milestones: 3.0.3, 3.1.0 Oct 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority/medium
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants