You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.
Ⅰ. Issue Description
https://github.com/dragonflyoss/Dragonfly/blob/master/pkg/httputils/http_util.go#L393
kube-proxy mode=ipvs
supernode with service.spec.type=ClusterIP(eg. 10.254.49.255)
when dfget or dfclient startup, it will get ClusterIP(eg. 10.254.49.255) as cfg.LocalIP which will register to supernode as peer ip
Ⅱ. Describe what happened
as above
supernode 用service.spec.type=ClusterIP下 kube-proxy mode=ipvs。 https://github.com/dragonflyoss/Dragonfly/blob/master/pkg/httputils/http_util.go#L393
这行返回的localIP 会等于 supernode service 的cluster ip(eg. 10.254.49.255)
dfget or dfclient 启动时会把这个ip作为peer 的ip注册到supernode
临时解决方案 Headless Services
Ⅲ. Describe what you expected to happen
Ⅳ. How to reproduce it (as minimally and precisely as possible)
Ⅴ. Anything else we need to know?
Ⅵ. Environment:
uname -a
): 4.9.2-3.0.0.std7b.el7.5.x86_64The text was updated successfully, but these errors were encountered: