Comments (2)
K3s servers require a stable, static IP address. You might be able to configure a dummy interface, and use that interface's address as your --node-ip?
For laptops with changing network, you might look at Rancher Desktop, which includes k3s inside a virtual node with isolated networking.
from k3s.
Honestly I don't think this is an answer; this seems like a bug to me. I'm not sure if this will change anything, but I've also pinned the IP of wired NIC on my laptop on my private laptop so it's always the same IP. I understand if the problem were switching between networks ( such as my private and work networks, for example ), AND if the error showed any attempt to connect to a different address ( one that was part of the private network I'm a part of ), but this error shows the connect attempt to a IP that is clearly part of the pod CIDR, which never changes ( the IP of the api-server from inside the cluster? ).
Also, I'm not sure if anyone else is having this issue, but I was able to "solve" the problem by running the k3s-killall.sh script. It seems to kill enough things that seems to erase the problem. Not sure if I lose configuration or stored state information as a result of doing this, but at least it gets me back to being able to collect the logs of the pods again.
Also I feel that this not working runs counter to the mission of k3s being a small, light weight k8s install you can run in edge environments. Of course this is my own opinion and I am no expert in k8s nor fully understanding the entire mission of k8s or k3s.
from k3s.
Related Issues (20)
- Issue Number 10000
- Unable to provision K3S downstream cluster in Rancher HOT 1
- k3s failed to get CA certs HOT 1
- Flannel crashoff on k3s <<<rasperry pi 4 arm64 debian bookworm HOT 1
- Support containerd config_path for stargz snapshotter
- Adding incorrect flag during install results in a error which is hard to figure out what is wrong HOT 4
- K3s fails to start in a multi-network card environment with error "IPv6 was enabled but no IPv6 address was found on node" HOT 4
- K3S agent failed to join server, CA cert validation failed HOT 1
- k3s uninstall shouldn't delete k3s config.yaml HOT 1
- etcd-snapshot save ignores s3-folder param provided and saves only in s3-bucket location HOT 1
- Invalid `hosts.toml` for private registry is generated HOT 2
- etcd-snapshot save times out in 10 seconds the first try HOT 1
- ServiceLB back after auto-upgrade; k3s seems to ignore parameters from systemd unit after upgrade HOT 6
- [Bug Report K3s Windows] - Scratch Image Filesystem has no shell.
- [Bug Report K3s Windows] - Command Name for the k3s binary is incomplete in binary_size_check.sh
- A way to deploy ServiceLb only on desired nodes HOT 1
- [Release-1.28] - etcd-snapshot save ignores s3-folder param provided and saves only in s3-bucket location HOT 1
- [Release-1.27] - etcd-snapshot save ignores s3-folder param provided and saves only in s3-bucket location HOT 1
- [Release-1.28] - etcd-snapshot save times out in 10 seconds the first try HOT 1
- [Release-1.27] - etcd-snapshot save times out in 10 seconds the first try HOT 1
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 k3s.