Comments (10)
The current release on the releases page is 0.1.8
where 0.1.9
is in active development (which to read between the lines, means i've broken it) đ The two arp PRs have introduced some behaviour that is being investigated.
from kube-vip.
OK, my fault on that...didn't realize 0.1.9 wasn't a release. I will retry with 0.1.8
from kube-vip.
That resolved the issue. Thank you!
from kube-vip.
I'll close this and put process in place to make sure we test differently to save confusion.
from kube-vip.
@thebsdbox Is this resolved in the v0.1.9 release? I tried with v0.1.9 and facing the same issue. The VIP IP gets registered first but stops working after a while. I notice the Kube-vip pod crashes with below error and the new pod acquires leadership but somehow the IP doesn't get registered under the specified interface:
Old kube-vip pod:
time=â2020-10-26T19:45:08Zâ level=info msg=âBroadcasting ARP update for 10.17.40.224 (00:50:56:a1:4b:54) via eth0"
time=â2020-10-26T19:45:11Zâ level=info msg=âBroadcasting ARP update for 10.17.40.224 (00:50:56:a1:4b:54) via eth0"
time=â2020-10-26T19:45:14Zâ level=info msg=âBroadcasting ARP update for 10.17.40.224 (00:50:56:a1:4b:54) via eth0"
E1026 19:45:15.096740 1 leaderelection.go:321] error retrieving resource lock kube-system/plunder-lock: Get âhttps://dpatel-test-mxrh4:6443/apis/coordination.k8s.io/v1/namespaces/kube-system/leases/plunder-lockâ: context deadline exceeded
I1026 19:45:15.096893 1 leaderelection.go:277] failed to renew lease kube-system/plunder-lock: timed out waiting for the condition
E1026 19:45:15.097056 1 leaderelection.go:297] Failed to release lock: resource name may not be empty
time=â2020-10-26T19:45:15Zâ level=info msg=âThis node is becoming a follower within the clusterâ
time=â2020-10-26T19:45:15Zâ level=info msg=âShutting down Kube-Vip Leader Election clusterâ
New kube-vip pod:
time="2020-10-26T19:45:26Z" level=info msg="Beginning cluster membership, namespace [kube-system], lock name [plunder-lock], id [dpatel-test-mxrh4]"
I1026 19:45:26.707350 1 leaderelection.go:242] attempting to acquire leader lease kube-system/plunder-lock...
E1026 19:45:39.790519 1 leaderelection.go:321] error retrieving resource lock kube-system/plunder-lock: etcdserver: request timed out
E1026 19:45:50.506892 1 leaderelection.go:321] error retrieving resource lock kube-system/plunder-lock: etcdserver: request timed out
I1026 19:45:52.710399 1 leaderelection.go:252] successfully acquired lease kube-system/plunder-lock
time="2020-10-26T19:45:52Z" level=info msg="Node [dpatel-test-mxrh4] is assuming leadership of the cluster"
time="2020-10-26T19:45:52Z" level=info msg="This node is starting with leadership of the cluster"
time="2020-10-26T19:45:52Z" level=info msg="Broadcasting ARP update for 10.17.40.224 (00:50:56:a1:4b:54) via eth0"
time="2020-10-26T19:45:55Z" level=info msg="Broadcasting ARP update for 10.17.40.224 (00:50:56:a1:4b:54) via eth0"
time="2020-10-26T19:45:58Z" level=info msg="Broadcasting ARP update for 10.17.40.224 (00:50:56:a1:4b:54) via eth0"
time="2020-10-26T19:46:01Z" level=info msg="Broadcasting ARP update for 10.17.40.224 (00:50:56:a1:4b:54) via eth0"
time="2020-10-26T19:46:04Z" level=info msg="Broadcasting ARP update for 10.17.40.224 (00:50:56:a1:4b:54) via eth0"
time="2020-10-26T19:46:07Z" level=info msg="Broadcasting ARP update for 10.17.40.224 (00:50:56:a1:4b:54) via eth0"
time="2020-10-26T19:46:10Z" level=info msg="Broadcasting ARP update for 10.17.40.224 (00:50:56:a1:4b:54) via eth0"
time="2020-10-26T19:46:14Z" level=info msg="Broadcasting ARP update for 10.17.40.224 (00:50:56:a1:4b:54) via eth0"
time="2020-10-26T19:46:17Z" level=info msg="Broadcasting ARP update for 10.17.40.224 (00:50:56:a1:4b:54) via eth0"
When I restart the kube-vip pod, it works again for a min and then stops working
from kube-vip.
We've introduced a behaviour that may cause additional failover. We're preparing a fix!
from kube-vip.
Reopening until the fix is in place.
from kube-vip.
This is fixed in 0.2.0
from kube-vip.
@thebsdbox Same issue with 0.2.0
so it's not fixed, works with 0.8.0
from kube-vip.
64 bytes from 192.168.0.40: icmp_seq=101 ttl=64 time=1.493 ms
64 bytes from 192.168.0.40: icmp_seq=102 ttl=64 time=1.403 ms
92 bytes from 192.168.0.41: Redirect Host(New addr: 192.168.0.40)
Vr HL TOS Len ID Flg off TTL Pro cks Src Dst
4 5 00 0054 4db0 0 0000 3f 01 abcc 192.168.0.180 192.168.0.40
Request timeout for icmp_seq 103
92 bytes from 192.168.0.41: Redirect Host(New addr: 192.168.0.40)
Vr HL TOS Len ID Flg off TTL Pro cks Src Dst
4 5 00 0054 8e3c 0 0000 3f 01 6b40 192.168.0.180 192.168.0.40
Request timeout for icmp_seq 104
Request timeout for icmp_seq 105
Request timeout for icmp_seq 106
Request timeout for icmp_seq 107
64 bytes from 192.168.0.40: icmp_seq=108 ttl=64 time=1.423 ms
64 bytes from 192.168.0.40: icmp_seq=109 ttl=64 time=1.620 ms
$ kubectl describe pods kube-vip-k8s01 -n kube-system
...
Containers:
kube-vip:
Container ID: docker://615722853a756df2235abd2c972354c837dc98c3c796601223174774a33b813e
Image: plndr/kube-vip:0.2.0
Image ID: docker-pullable://plndr/kube-vip@sha256:71b22e427820f57c0d4cd99ccf832e44438e9c6d917a1b5ef9d082055debe9ea
Port: <none>
Host Port: <none>
Args:
start
State: Running
Started: Mon, 02 Nov 2020 18:11:23 +0000
Last State: Terminated
Reason: Completed
Exit Code: 0
Started: Mon, 02 Nov 2020 18:09:04 +0000
Finished: Mon, 02 Nov 2020 18:10:58 +0000
Ready: True
Restart Count: 2
Environment:
vip_arp: true
vip_interface: ens160
vip_leaderelection: true
vip_leaseduration: 5
vip_renewdeadline: 3
vip_retryperiod: 1
vip_address: 192.168.0.40
Mounts:
/etc/kubernetes/admin.conf from kubeconfig (rw)
/etc/ssl/certs from ca-certs (ro)
from kube-vip.
Related Issues (20)
- Kube-VIP ARPs conflicting VIP information HOT 4
- [0.7.2] Failing to assign VIPs to services with externalTrafficPolicy: Local and servicesElection: true HOT 4
- Select kube-vip instance by LoadalancerClass
- DDNS support is completely removed after v0.7.0 HOT 3
- Frequent connection reset by peer when accessing from another network HOT 1
- kube-vip remove all ip address on the eth device
- [0.7.2] Control plane VIP is not assigned on cluster cold start HOT 1
- How to make a virtual ip jump to another control plane when the node where the virtual ip is located is notReady? HOT 2
- Kube-vip pods stopped working and I lost access to my cluster HOT 2
- [Question] Does BGP Mode assign addresses to interfaces on the nodes? HOT 11
- Better support for offline deployment HOT 1
- The enable service security feature is not working in some environment due to the iptables-legacy executable not being found HOT 3
- Kube-vip depends on `nodename == hostname` for service election, which easily breaks HOT 2
- kube-vip didn't add VIP to the network interface HOT 3
- Node preferences/priorities for loadbalancer services
- Cannot start in just services mode in Equinix Metal HOT 4
- Allow vip_interface to be set on a per-node basis using node labels or annotations HOT 6
- kube-vip deletes route if second service with same IP has no backends HOT 5
- Cleanup on VIP/Iptables/IPVS on kube-vip deletion (SIGTERM or SIGINT) fails HOT 1
- Defaults the control plane LB mode to use masquerade forwarding method
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.