73 Commits

Author SHA1 Message Date
Louis Wehmschulte 6c5288a5f8 Add ScalingTarget to Routes API response (#541)
release / release (push) Failing after 0s
2026-04-04 12:21:09 -05:00
Bastian Wagner 5c7f5d7b36 feat: show asleep or loading motd for k8s servers (#535) 2026-03-09 18:22:53 -05:00
Geoff Bourne 6d82553a65 Don't spam warnings when stopped container discovered (#530) 2026-02-27 07:08:39 -06:00
Lenart Kos 2023e73892 Fix docker scaling and show loading MOTD (#529)
* fix: Reduce log spam for sleeping servers

* fix: Fix autodownscaling for initial player connection

* fix: Instant route updating when a docker container is downscaled

* feat: Show asleep or loading motd while the server is waking up
2026-02-25 20:46:51 -06:00
Geoff Bourne 8f4b64a9eb Use duration type for options for Docker auto-scaling delays (#524) 2026-02-15 20:12:53 -06:00
Chris Farhood 21f349c2da Allow mc-router to scale a backend StatefulSet while routing traffic to a proxy via proxyServerName (#512) 2026-02-13 07:07:27 -06:00
Lenart Kos 4df81f032d Fix race condition during first connection (#509) 2026-01-21 17:09:35 -06:00
Jasper 9cc25e4127 Expose rate limit bucket tokens as metric (#502) 2026-01-03 21:43:46 -06:00
Geoff Bourne 19d56161f5 With k8s correctly handle disabled auto-scale up case (#495) 2025-12-21 09:24:32 -06:00
Lenart Kos 4dff00dda9 Docker auto-scale and asleep motd status (#488) 2025-12-20 13:31:34 -06:00
Geoff Bourne b67d0985dc Use Docker API version auto negotiation (#486) 2025-11-28 11:20:10 -06:00
Lime dbb334474d Add support for infinity-filter (#476) 2025-11-18 21:13:45 -06:00
Supratim Ghose 22ec39b805 feat: support newline and comma-whitespace external host lists for auto-discovery (#468) 2025-10-24 16:48:34 -05:00
Geoff Bourne fb670189d8 Use signal.NotifyContext and WaitGroup.Go (#466) 2025-10-21 20:48:05 -05:00
Moritz Rinow d0fcb93aa6 feat: opt-out of auto-scaling per server (k8s) (#454) 2025-09-10 07:23:18 -05:00
Geoff Bourne 35500a758b Corrected docker/swarm discovery from previous refactoring (#446) 2025-08-23 13:39:01 -05:00
Geoff Bourne 443beb2cce Add support for requesting ngrok remote address (#436) 2025-07-25 17:13:07 -06:00
Geoff Bourne 7a4f83a30f Provide option for kubernetes to watch only a specific namespace (#433) 2025-07-20 12:59:14 -05:00
Geoff Bourne af1e193958 Redo code cleanup (#429)
* Code cleanup of routes config loader and API server (#424)

(cherry picked from commit 1ee3eb4de3)

* Refactored server setup and run out of main (#425)

(cherry picked from commit 05c57c3b85)

* Code cleanup in and around connector (#427)

(cherry picked from commit b3e88db48c)

* Update away from deprecated k8s NewInformer

* Tidy up couple of k8s docs examples
2025-07-13 10:00:40 -05:00
Geoff Bourne 172aed3893 Revert code cleanup for now (#428)
* Revert "Code cleanup in and around connector (#427)"

This reverts commit b3e88db48c.

* Revert "Refactored server setup and run out of main (#425)"

This reverts commit 05c57c3b85.

* Revert "Code cleanup of routes config loader and API server (#424)"

This reverts commit 1ee3eb4de3.
2025-07-06 20:16:26 -05:00
Geoff Bourne b3e88db48c Code cleanup in and around connector (#427) 2025-07-05 21:30:23 -05:00
Geoff Bourne 05c57c3b85 Refactored server setup and run out of main (#425) 2025-07-05 19:32:33 -05:00
Geoff Bourne 1ee3eb4de3 Code cleanup of routes config loader and API server (#424) 2025-07-03 19:26:35 -05:00
solidDoWant 805cebd856 Fix login start packet decoding for 1.18.2 up to 1.20.2 (#421)
Signed-off-by: Fred Heinecke <fred.heinecke@yahoo.com>
2025-06-29 07:37:26 -05:00
FedotCompot 122910c65d feat(k8s): ExternalName service support (#419) 2025-06-20 07:33:40 -05:00
Justin Barlow 0af57252dc Reload routes config file on SIGHUP (#412) 2025-05-11 08:02:19 -05:00
Geoff Bourne a46a423b0a Add option to watch routes config file changes (#411) 2025-05-10 12:39:32 -05:00
Samuel McBroom bc81e03f19 Add auto scale down option (#405) 2025-05-02 18:12:53 -05:00
Geoff Bourne 419692825e Handle truncated start login frame (#400) 2025-04-26 21:24:41 -05:00
Geoff Bourne 4ba55a9ccd Add player info to connector logs (#398) 2025-04-26 12:16:32 -05:00
Samuel McBroom da52e7096f Add option for scale-up allow/deny lists for servers (#397) 2025-04-26 10:57:33 -05:00
UrbaneChimp cc5d77e4c8 Call webhook on player disconnect (#396) 2025-04-24 20:58:43 -05:00
Samuel McBroom d21ccb5b9f Add option to emit metrics and logs when players connect to the router (#391) 2025-04-22 07:37:25 -05:00
Geoff Bourne cc590524c4 Add connection webhook notifications (#392)
Also 

* Added decode of LoginStart message
* Add metrics backend constants
* Updated usage section
* Documented MaxFrameLength
2025-04-21 20:28:34 -05:00
Samuel McBroom a058d6e21d Do not autoscale up on status requests (#388) 2025-04-17 22:07:25 -05:00
Geoff Bourne 7526a7078a Add support for allow/deny clients by IP (#355) 2024-12-19 07:37:08 -06:00
Slawomir CALUCH 2624e25c94 feat: add prometheus metrics (#342) 2024-11-09 12:43:51 -06:00
n1xx1 9e194d5dc8 fix runtime panic (#335) 2024-10-18 07:51:19 -05:00
Geoff Bourne cab6ba1e71 Trim serverAddress before logging its value for lookup (#321) 2024-08-15 19:31:15 -05:00
Matthew McCune 5d7063f73e Add Service Discovery option for non-Swarm Docker (#316) 2024-08-04 17:22:39 -05:00
iipanda e38a054c46 feat: add ability to receive proxy protocol (#307) 2024-07-07 11:13:12 -05:00
Geoff Bourne b2153f89cb Corrected addresses used in PROXY header (#262) 2024-02-03 19:37:44 -06:00
Geoff Bourne afdca5646e Added ngrok support (#222) 2023-09-09 12:06:59 -05:00
Lilly Tempest c548fda65e Support TCP Shield host enrinchment (#195) 2023-05-24 21:28:38 -05:00
Lasse15 787ab54ca4 Persistent routes from REST API (#145) 2022-12-05 07:58:13 -06:00
n1xx1 c2b23d40c7 Enable network filtering for docker swarm discovery (#143) 2022-11-17 08:38:44 -06:00
Geoff Bourne a7229355bf Route to k8s service port minecraft or mc-router (#135) 2022-10-23 22:18:10 -05:00
Geoff Bourne f8a65abb61 Wait for connections to finish when stopping (#107) 2022-08-05 20:50:32 -05:00
n1xx1 d15bc9e986 Add support for docker swarm service discovery (#103) 2022-08-04 20:59:20 -05:00
Geoff Bourne bc97b0ecbf Trim root zone indicator from server address (#97) 2022-07-11 23:16:15 -05:00