26 Commits

Author SHA1 Message Date
Manuel Rüger
8f2e26a6c6
Update deps for k8s, cni and golang (#1030)
* go.mod: Update k8s dependencies to 0.20.2

* go.mod: Update coreos/iptables-0.5.0 cni/plugins-0.9.1

* Makefile: Update container image
2021-02-17 17:40:11 +05:30
Murali Reddy
53d66ebd38 adding missing vendor files 2021-02-08 23:47:41 +05:30
Manuel Rüger
ee9f6d890d
Update dependencies (go-iptables, cni) (#996)
* go.mod: Vendor coreos/go-iptables 0.4.5

* go.mod: Vendor containernetworking/plugins v0.8.0

* Update implementation to work with libcni 0.8.0

* go.mod: Vendor containernetworking/plugins v0.9.0
2021-01-18 19:03:51 +05:30
Manuel Rüger
d32d651d63
go.mod: Vendor newer prometheus and k8s (#990)
This vendors a later version of prometheus' golang client (0.8.0 ->
0.9.4) to allow `go mod tidy`to work properly.
It also updates the k8s libraries from 0.18.6 to 0.18.8 to avoid
hitting https://github.com/kubernetes/kubernetes/issues/91073
2020-09-30 09:40:07 +05:30
Murali Reddy
3c734fb96a
merge gobgp-update into master (#982)
* merge gobgp-update into master

* update travis.yaml go version:

* go get github.com/osrg/gobgp to build gobgp

* install git as go get needs it
2020-09-07 10:27:58 +05:30
jakub.coufal
23b2b99c96 Bump go-iptables 2020-07-27 14:08:22 +02:00
Murali Reddy
53e0571c8c
fix broken CI (#823)
* fix broken CI

* fix .travis.yml

* skip gomoqs

* fix multi arch image building
2020-01-22 06:38:53 +05:30
Aaron Layfield
05d03e7686 #797 Conditionally disable "Allow All" input/chain on IPVS KUBE-ROUTER-SERVICES (#809)
* Added flag and condition for open input on iptables #797

* Adding flag to docs.

* Updated to remove INPUT/CHAIN entirely. Name changed to IpvsDenyAll.

* Updated README.

* Updated docstring on ipvs-deny-all

* ipvsDenyAll -> ipvsPermitAll

* Updating user guide.

* Descriptions updates per review
2019-12-05 16:13:38 +05:30
milan
6470795db3 Use x/sys/unix epoll (#737)
* Make gobgp compile in an image

This patch adds Makefile logic, similar to the kube-router target,
allowing gobgp to be built in a container.

* Use unix.Epoll* functions

To be able to compile and run on the Linux@arm64 architecture
one has to use the `golang.org/x/sys/unix` package instead
the `syscall` package. This is because of these Go upstream
bugs that won't be fixed in the standard library:

- syscall: arm64: epoll_wait syscall not implemented
  https://github.com/golang/go/issues/25813
2019-05-27 17:06:31 +05:30
Joakim Karlsson
54eedcd049 Issue 572 - Graceful termination + Update to go-1.10.8, alpine-3.9 (#706)
* update netlink

* update libnetwork to get ipvs stats

* update gopkg.lock for libnetwork update

* update libnetwork

* add cli options

* make endpoints delete gracefully

* move conntrack flusher

* get some order in the mainloop

* update to alpine 3.9 & go 1.11.1

* revert to 1.10.3 just update alpine

* and revert travis.yml

* lock version

* test 1.12

* test
2019-04-25 22:57:10 +05:30
Murali Reddy
c10a61555e
update vendored gobgp to latest release (#533)
Fixes #451
2018-09-11 08:13:54 +05:30
Andrew Sy Kim
6eece2d737 update gobgp to d31262d for BGP graceful restart fixes (#403)
* update gobgp to d31262de7d91c81ff979b39950d2d859666dfa3f for graceful restart fixes

* fix addExportPolicies test due to new gobgp version
2018-04-22 08:14:26 +00:00
Andrew Sy Kim
af9875d477 Use dep for managing vendor/ (#395)
* vendor changes from dep init

* add Gopkg.lock and Gopkg.toml

* delete glide.lock and glide.yaml

* build gobgp from vendor
2018-04-16 23:10:47 +05:30
JuanJo Ciarlante
ed0dc39098 [jjo] added network_services_controller ginkgo testing (#348)
* network services controller testing via moq and ginkgo

* add network_services_test case for LoadBalancer w/o IPs

* no-change-commit: glide.yaml: pin ginkgo and gomega versions, update only these in vendor/

* golint fixes

* fixes from @andrewsykim review

* group std imports
2018-04-09 19:36:06 +05:30
Murali Reddy
5436a73181
glide update, to get pull latest dependencies (#365) 2018-04-04 11:13:30 +05:30
Murali Reddy
6d432681de support for direct server return (#204)
new annotation is added `kube-router.io/service.dsr=tunnel` to enable DSR

Fixes #40
2017-10-24 18:20:58 +05:30
Murali Reddy
0010425b8f bump up client-go to release-5.0 and vendor kubernetes/api
Fixes #178
2017-10-07 22:52:06 +05:30
Ryar Nyah
3431a1831f Delete ipset dependency + delete unused ipsets 2017-09-25 21:17:25 +02:00
Bryan Zubrod
f333aacf7e vendor: Update GoBGP to fix fd leak (#124) 2017-08-13 20:07:08 -05:00
Bryan Zubrod
9e75203598 Use libnetwork/ipvs instead of libipvs (#101)
* Use libnetwork/ipvs alternative
* PR image tag simplification
* Remove nested vendor directories
2017-08-04 14:07:57 -05:00
Murali Reddy
60482bcd4c WIP : Expose active/inactive connection to service backend as prometheus metrics
putting basic skelton framework to use prometheus

Fixes #5
2017-07-16 03:11:13 +05:30
Murali Reddy
beb39cc54b When running on AWS disable source-destination checks automatically
Fixes #35
2017-07-15 01:50:19 +05:30
Murali Reddy
8b5d81c11b gobgp bump to master 2017-07-14 02:17:44 +05:30
Murali Reddy
2bdf657cfa gobgp client in kube-router docker image does not show peer information
Gobgp 1.21 seems to have problem, so setting the version used to 1.20

Fixes #58
2017-07-14 02:10:01 +05:30
bzub
510d18cdb6 Update vendored dependencies 2017-07-12 21:54:38 -05:00
Murali Reddy
04a5cc033a base line version tested with kube 1.5.6, 1.6 2017-04-17 10:33:09 +05:30