This repository has been archived by the owner on Aug 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 74
keepalived-vip v0.30 cannot be aware of the backend pod scaling #87
Comments
I believe it's because of introducing of |
@panpan0000 please test |
Closing. Fixed in master. Please use 0.33 |
wo~ how could you be so fast !!!!! |
@panpan0000 this was the issue c9ac529 |
Yes, I confirm v0.33 works well ! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Summary:
directlly pull the image (aledbf/kube-keepalived-vip)
v0.29 was good, but when >=v0.30 , when the pod of service being scaled, then the
/etc/keepalived/keepalived.conf
will not get updated, until next time configmap changed .HOW To Reproduce:
1.deploy v0.30/v0.32 keepalived-vip daemonset
2.add configmap like
10.6.111.50: default/myapp
3.
kubectl scale --replicas=2 deploy myapp
, from 1 pod to 2 pods4.
kubectl exec -it kube-keepalived-vip-xxx cat /etc/keepalived/keepalived.conf
5. found that
real_server
remains single item , at least for 1 mins waiting.6. delete the daemonset, and update yaml to using v0.29 image, the
keepalived.conf
will get changed in 3-5 secs when app scaled.@aledbf
The text was updated successfully, but these errors were encountered: