Comments (4)
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.
Hi, this is indeed wrong.
Can you please provide the output of k0s etcd member-list
as well?
from k0s.
Sure!
root@node1:~# k0s etcd member-list
{"members":{"node1":"https://192.168.0.5:2380"}}
from k0s.
The issue is marked as stale since no activity has been recorded in 30 days
from k0s.
Related Issues (20)
- Chart order change results in multiple manifest files and chart failing to update HOT 2
- k0s reset & kine HOT 5
- CPLB hairpining fails on vSphere HOT 2
- Joining additional controller node with dynamic config enabled wipes existing clusterconfig HOT 7
- Additional controller nodes use default service CIDR to sign certificates when using dynamic config HOT 4
- broken plan status symmetry being reported by autopilot HOT 2
- Broken `ClusterConfig` with dynamic config results in wiping system services HOT 1
- Better handling of unsupported combos in dynamic configuration HOT 1
- Following https://docs.k0sproject.io/v1.30.2+k0s.0/install/ to setup but sudo k0s kubectl get nodes is showing "No resources found" HOT 4
- Make the release pipeline public
- Don't auto-detect link-local IP addresses
- k0s reset hangs when containerd is broken HOT 1
- k0s nodes - cannot communicate between different regions/clouds HOT 6
- K0s configuration V2 HOT 4
- Disabling control plane isolation? HOT 2
- Option To Create Namespace If It doesn't Exist For Helm Charts Installation
- Allow multiple external IPs for the k0s cloud provider
- Autopilot can't update controller+worker with --kubelet-extra-args="--hostname-override"
- The Status.Error field in the charts.helm.k0sproject.io is removed on subsequent reconciles
- Add option to disable the use of --force flag when running helm upgrade extensions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from k0s.