Commit Graph

58 Commits

Author SHA1 Message Date
Geoff Bourne
1f31bc11d8 ci: ensured Makefile test goal is "phony" 2020-07-05 20:14:14 -05:00
Geoff Bourne
6e726fb137 Upgraded k8s.io/client-go to v0.18.5 2020-07-05 20:12:56 -05:00
Geoff Bourne
e15221e6d7 misc: added testing.http file 2020-05-04 18:01:04 -05:00
Samuel Walker
be33d2c9d1
Update the image version in the example file (#8)
* Update the image version in the example file

https://github.com/itzg/mc-router/issues/7

Deployed it with an older version. Works but ends up spiking in CPU usage. Easy to overlook. 

Also, for good measure/best practice, added resource request/limit.

* Bad syntax on CPU limit value
2020-03-30 18:45:47 -05:00
Geoff Bourne
3ea1149681 Qualified influx metric names 2020-01-04 14:52:07 -06:00
Geoff Bourne
8d63f76a66 ci: more goreleaser changelog filters 2020-01-04 14:30:49 -06:00
Geoff Bourne
8a672a17e4 misc: updated license dates 2020-01-04 14:22:26 -06:00
Geoff Bourne
a12bbb88a3 Added influxdb as a metrics reporter/backend 2020-01-04 14:22:01 -06:00
Geoff Bourne
7f50c512f5 Switched to go-flagsfiller to enable env var config 2020-01-03 21:19:21 -06:00
Geoff Bourne
7f6e3637a0 docs: added docker-compose example 2019-07-27 11:36:16 -05:00
Geoff Bourne
ca572184b2 ci: fix main path in goreleaser config 2019-07-14 17:02:38 -05:00
Geoff Bourne
841e49ec0e docs: add development notes 2019-07-14 17:02:12 -05:00
Geoff Bourne
5006505836 ci: use zip archive for windows 2019-07-14 16:59:43 -05:00
Geoff Bourne
39b218aed2 misc: fix logging 2019-07-14 16:36:33 -05:00
Geoff Bourne
b290243d40 Initial support for tracking connection metrics 2019-07-14 16:34:46 -05:00
Geoff Bourne
a86eb65ca5 misc: re-enable handshake deadline 2019-07-14 16:00:57 -05:00
Geoff Bourne
4c99daafa3 Handle legacy server list ping for handshake 2019-07-13 15:40:34 -05:00
Geoff Bourne
3699931af0 Use juju rate limiter for connection rate limiting 2019-07-13 15:40:00 -05:00
Geoff Bourne
433dd2233b Add flag for connection rate limit and slow zero-progress operations 2019-07-09 07:22:20 -05:00
Geoff Bourne
7c7f0e1b3c Rate limit connections and enforce read deadline on handshake 2019-07-08 19:07:36 -05:00
Geoff Bourne
9e64ab2ab2 docs: add badges for docker, build, etc 2019-07-07 11:56:21 -05:00
Geoff Bourne
ab94b04d4c Add command line arg for enabling debug logs
Log debugs for frame and packet reading to diagnose high CPU
2019-07-07 11:53:52 -05:00
Geoff Bourne
cf90f15bc2 Fixing toLower typo from previous commit 2019-06-25 14:15:59 -05:00
Geoff Bourne
e2cd062265
Merge pull request #5 from JLSchuler99/Host-not-case-sensitive
Make server address not case sensitive
2019-06-25 14:10:32 -05:00
Jacob Schuler
d446af5c25 Store all addresses in lowercase 2019-06-25 14:31:49 -04:00
Geoff Bourne
1324e29343 ci: allow for "-\d+" tag suffix 2019-06-07 22:06:15 -05:00
Geoff Bourne
8cf61e3d6c ci: update build to Go 1.12.5 2019-06-07 22:03:32 -05:00
Geoff Bourne
b6edd937ea Close cpu profile file at exit 2019-05-04 14:22:51 -05:00
Geoff Bourne
19c9f1550d Catch SIGTERM to ensure graceful container stopping 2019-05-04 12:45:00 -05:00
Geoff Bourne
2db4274db2 Fix output profiling filename 2019-05-04 11:25:12 -05:00
Geoff Bourne
7d2d70b589 Output profiling filename 2019-05-04 11:09:03 -05:00
Geoff Bourne
6cdc1e06ac Add CPU profiling option 2019-05-04 10:53:05 -05:00
Geoff Bourne
96399cfd40 Support routing forge clients 2019-04-28 17:02:21 -05:00
Geoff Bourne
5875b0d231 Support routing forge clients 2019-04-28 16:49:43 -05:00
Geoff Bourne
be0f2a8c56 For k8s, look for mc-router named service port and use port value 2019-04-25 19:35:42 -05:00
Geoff Bourne
351b61222e misc: gitignore the goreleaser dist directory 2019-04-19 20:50:08 -05:00
Geoff Bourne
072808085d misc: fix example k8s-mc-with-default 2019-04-19 20:49:27 -05:00
Geoff Bourne
1d23d84d47 ci: fix deprecated goreleaser fields 2019-04-19 20:45:12 -05:00
Geoff Bourne
44a67dd359 Add support for a default backend service 2019-04-19 20:27:14 -05:00
Geoff Bourne
d76e5442da Fixed go modules for k8s 2019-04-16 18:58:13 -05:00
Geoff Bourne
5576f484dd Switch to go modules 2019-04-15 21:16:26 -05:00
Geoff Bourne
d9a0c70a31 Switch golang flag's to allow for glog argument access 2018-05-27 15:36:01 -05:00
Geoff Bourne
702a5d5e49 docs: document more auto service discovery 2018-05-27 14:53:22 -05:00
Geoff Bourne
50ff433fd0 docs: document auto service discovery example 2018-05-26 14:03:04 -05:00
Geoff Bourne
c49099f1cf ci: avoid /tmp creation in Dockerfile 2018-05-26 13:17:21 -05:00
Geoff Bourne
bdf470d675 Use --in-kube-cluster to indicate in-cluster mode 2018-05-26 13:10:45 -05:00
Geoff Bourne
682ceb9589 ci: abstract glide into makefile 2018-05-26 12:42:41 -05:00
Geoff Bourne
c9b5a2c618 ci: consistent run step names 2018-05-26 12:37:48 -05:00
Geoff Bourne
72f910622d ci: install glide 2018-05-26 12:35:11 -05:00
Geoff Bourne
2befd24b4a Auto-register routes based on kubernetes service annotations 2018-05-26 12:31:40 -05:00