GithubHelp home page GithubHelp logo

Comments (6)

nsteinmetz avatar nsteinmetz commented on June 12, 2024

and in addition dns.network "conflicts" with eth0.network for eth0 settings.

Putting everyhting in eth0.network works (with UseDomains commented so far) and removing dns.network.

from kubernetes-on-arm.

luxas avatar luxas commented on June 12, 2024

Yeah, I'm wondering which way is the best to do this.
Now, I added a dns.network file which overrides the other .network files
dns.network uses eth0 and DHCP by default.

The purpose is to include this line in /etc/resolv.conf

search default.svc.cluster.local svc.cluster.local cluster.local

That's systemd's way of configuring this file.
Any suggestion to make this better?

from kubernetes-on-arm.

nsteinmetz avatar nsteinmetz commented on June 12, 2024

On 2nd cubietruck, I'll try to setup dns.network instead of using eth0.network (which is more straight forward and what I expected).

I would do more in fact what I did, that is to say add what was in the dns.network into the eth0.network. Seems more in line with official doc of systemd. Otherwhise, it should be mentionned in this project documentation.

from kubernetes-on-arm.

nsteinmetz avatar nsteinmetz commented on June 12, 2024

Ok, so on 2nd cubie:

  • Editing only dns.network to switch from DHCP to static adress works and override eth0.network
  • It still says that UseDomains is an unknown value in section network. but it does not prevent to set-up eth0.

As a consequence, /etc/resolv.conf does not contain:

search default.svc.cluster.local svc.cluster.local cluster.local

from kubernetes-on-arm.

nsteinmetz avatar nsteinmetz commented on June 12, 2024

... and so:

curl my-nginx.default.svc.cluster.local works but not curl my-nginx which is logical.

from kubernetes-on-arm.

luxas avatar luxas commented on June 12, 2024

I've fixed the UseDomains issue and documented that one should edit dns.network.

Thanks. (PS. v0.6.2 is soon here)

from kubernetes-on-arm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.