Comments (5)
This is now added to the documentation.
from kube-vip.
Docker isn't usually installed to k3s hosts, that's part of the beauty and speed of the solution..
Therefore it'd be nice if you had the equivalent of the below:
sudo docker run --network host --rm plndr/kube-vip:0.1.8 kubeadm init --interface ens160 --vip $VIP --arp --leaderElection | sed 's/name: kube-vip/name: kube-vip-'hostname'/g' | sed 's/path: \/etc\/kubernetes\/admin.conf/path: \/etc\/rancher\/k3s\/k3s.yaml/g' | sudo tee /var/lib/rancher/k3s/server/manifests/vip.yaml
But that ran as a static binary or a bash file.
When we spoke, you had a concern of the size of your binary. You could publish a tiny binary to do this one task, that'd be the easiest to maintain and a clean approach, you could hack some bash, or zip your binary.. zipping for us reduced the size of inletsctl from 30-35mb to 10mb. https://github.com/inlets/inletsctl/releases
from kube-vip.
Keep up the good work. I'm looking forward to telling people about Kube-vip for a HA k3s control plane IP.
from kube-vip.
These steps need an alternative method that doesn't involve the Docker engine. Perhaps curl -sFL kube-vip.io/k3sManifest.yaml | sed 's/old_IP/new_IP/' > manifest.yaml
from kube-vip.
Right, here we go !
Option one:
curl -sL kube-vip.io/k3s | vipAddress=192.168.0.10 vipInterface=ens192 sh > /var/lib/rancher/k3s/server/manifests/vip.yaml
Option two:
export vipAddress=192.168.0.10
export vipInterface=ens192
curl -sL kube-vip.io/k3s | sh > /var/lib/rancher/k3s/server/manifests/vip.yaml
from kube-vip.
Related Issues (20)
- Node labels have the wrong value HOT 5
- GitHub repository does not link to the project website url HOT 1
- kube-vip not doing LB
- Binary deployment kube-vip
- kube-vip pod keeps failing "cannot assign requested address\n" HOT 3
- High Availability Not Working
- Kube-VIP for Cilium KubeProxyReplacement - error retrieving resource lock kube-system/plndr-cp-lock: Get dial tcp 10.43.0.1:443: i/o timeout HOT 3
- [Bug] shortName not correctly discovered
- [Bug] BGP Mode does not advertise `externalTrafficPolicy: Local` correctly.
- VIP is lost when kubernetes control plane goes down
- VIP ARP changes node InternalIP causing log calls to fail HOT 2
- Additional loadbalanced controlplane ports
- control plane load balancing conflicts with ipvs based service HOT 2
- No automatic failover when control-plane with the VIP goes down in ARP mode. HOT 2
- Generating a manifest not outputting yaml on stdout HOT 1
- 🌱 E2E test for generating manifest
- kube-vip 0.7.0 causes nodes to lose connection and interfaces would lose IPs HOT 8
- Problem with the label kube-vip.io/has-ip HOT 2
- [Bug] When kube-vip reconciles in Table/BGP Mode it should reconcile gracefully.
- kube-vip v0.7.0 broken the control plane load balancing HOT 3
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 kube-vip.