Patrick Ohly
ad79e479c2
build: remove deprecated '// +build' tag
...
This has been replaced by `//build:...` for a long time now.
Removal of the old build tag was automated with:
for i in $(git grep -l '^// +build' | grep -v -e '^vendor/'); do if ! grep -q '^// Code generated' "$i"; then sed -i -e '/^\/\/ +build/d' "$i"; fi; done
2025-12-18 12:16:21 +01:00
Dan Winship
13f0449e4c
Fix up kube-proxy import ordering/organization.
2025-03-07 10:43:43 -05:00
Dan Winship
f3ba935336
Consistently use proxyutil as the name for pkg/proxy/util
...
Some places were using utilproxy, but that implies that it's
pkg/util/proxy...
2023-05-30 12:18:49 -04:00
Lars Ekman
5310305098
proxy/ipvs: add a GetAllLocalAddressesExcept() function
2023-04-27 21:02:20 +02:00
Lars Ekman
8d63750c35
Generic sets in netlink and utils
2023-02-19 18:25:07 +01:00
Lars Ekman
9f37096c38
Kube-proxy/ipvs; Use go "net" lib to get nodeIPs
...
The nodeIPs to be used for nodePorts were collected using
netlink which was unnecessary complex and caused se #93858
2021-11-13 15:07:47 +01:00
Stephen Augustus
481cf6fbe7
generated: Run hack/update-gofmt.sh
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-08-24 15:47:49 -04:00
Antonio Ojea
0cd75e8fec
run hack/update-netparse-cve.sh
2021-08-20 10:42:09 +02:00
chengzhycn
5bd2b6877d
fix incorrect dev name in log when finding link by name returns error
...
Signed-off-by: chengzhycn <chengzhycn@gmail.com>
2021-01-04 16:34:02 +08:00
Damon Wang
b199dd8ee1
update the comment of NodeIPs function
2020-06-29 15:29:16 +08:00
yanghaichao12
ba64ae18bc
Fix typos in kube-proxy
2019-01-07 11:08:34 -05:00
Lars Ekman
2e5a985e47
Updates after review
2018-11-19 11:44:17 +01:00
Lars Ekman
e2409a054b
Fixes NodePort in ipv6 with proxy-mode=ipvs. #68437
...
Use ipv6 addresses for NodePort with proxy-mode=ipvs in a
ipv6-only cluster.
2018-11-14 12:34:06 +01:00
tizhou86
f18c133360
Fix golint error under pkg/proxy.
2018-08-29 16:16:29 +08:00
liangwei
8a8b5845a9
optimize ipvs get nodeIP
2018-08-14 09:14:15 +08:00
xujieasd
7973626e94
add cleanLegacyBindAddr
...
update gofmt && modify comment && modify currentBindAddrs
modify log to Upper-case
2018-06-25 10:37:57 +08:00
stewart-yu
2e67243497
fix deleting dummy device error in kube-proxy.log when run cluster in local
2018-02-11 10:59:09 +08:00
m1093782566
5c3ee0f2fa
check ErrorNotFound in netlink.go to fix cross build error
2018-02-02 14:28:55 +08:00
m1093782566
cddc479904
replace syscall with sys/unix pkg
2017-12-20 10:08:09 +08:00
m1093782566
a9b67a4b52
fix ipvs proxier nodeport
2017-12-16 16:26:39 +08:00
m1093782566
876c73024c
migrate ip cmd to netlink
2017-10-24 13:26:07 +08:00
m1093782566
fa94105866
implement dummy device operation by netlink
2017-10-24 11:41:36 +08:00
choury
00f8ae3540
fix duplicate unbind action
2017-10-09 12:14:24 +08:00