Code Monkey home page Code Monkey logo

Comments (5)

emerout avatar emerout commented on June 12, 2024

As a workaround, I have renamed the interfaces for each node in /etc/netplan/01-netcfg.yaml:

network:
  version: 2
  renderer: networkd
  ethernets:
    eth0:
      match:
        macaddress: "c0:3f:00:01:02:03"
      set-name: eth0
      dhcp4: no
      addresses: [192.168.1.13/24]
      gateway4: 192.168.1.1
      nameservers:
        addresses: [192.168.1.1]

from kube-karp.

ibotty avatar ibotty commented on June 12, 2024

You can configure different DaemonSets, each targeting only the hosts with the same interface name. I plan to enhance the entrypoint to autodetect the interface to use in the future though.

from kube-karp.

immanuelfodor avatar immanuelfodor commented on June 12, 2024

I'm happy to accept a PR targeting this functionality if you find it useful :)

I can imagine a bare metal scenario where different interface names coexist but I'm using only VMs that all have the same interface names even when they are hosted on different virtual environments (all eth0).

from kube-karp.

immanuelfodor avatar immanuelfodor commented on June 12, 2024

Solved by #8 , thanks @ibotty

Please report back if you encounter any bugs :)

from kube-karp.

immanuelfodor avatar immanuelfodor commented on June 12, 2024

Released in: https://github.com/immanuelfodor/kube-karp/releases/tag/1.0.3

from kube-karp.

Related Issues (5)

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.