Giter VIP home page Giter VIP logo

Comments (4)

twz123 avatar twz123 commented on August 17, 2024 1

I think the issue is that my primary network interface has two IPs due to the CPLB?

That smells like it's the problem, yes. The original PR just skipped the dummy interface and didn't take into account that the virtual IP could be attached to a different interface, as well. Still not sure why k0s chose the second address. The assumption was that Go's net.Interfaces() returns interfaces and addresses in the "operating system's order". K0s picks the first non-loopback address, which should have been .5. 🤔

A proper fix would be to exclude/blacklist VRRP IPs when determining the address. The code is currently structured in a way that makes make this difficult. On the other hand, k0s should probably also prefer the primary (i.e. non-secondary) address of an interface. That's self-contained and should be enough to fix this issue.

from k0s.

juanluisvaladas avatar juanluisvaladas commented on August 17, 2024

Hi, this is indeed wrong.
Can you please provide the output of k0s etcd member-list as well?

from k0s.

Skaronator avatar Skaronator commented on August 17, 2024

Sure!

root@node1:~# k0s etcd member-list
{"members":{"node1":"https://192.168.0.5:2380"}}

from k0s.

github-actions avatar github-actions commented on August 17, 2024

The issue is marked as stale since no activity has been recorded in 30 days

from k0s.

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.