Skip to content

Conversation

@FedotCompot
Copy link
Contributor

@FedotCompot FedotCompot commented Jun 20, 2025

Enables using k8s service discovery, and as consequence allows config live reload, for minecraft servers that are external to the k8s cluster.

Example usecases:

  1. there is a separate machine that runs minecraft servers that is in same LAN as k8s cluster
  2. the IP of the minecraft server is blocked in the country of some players, use mc-router as jumper point hosted on an allowed IP to bypass the block

Copy link
Owner

@itzg itzg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very cool. Can you update the README also?

@itzg itzg added the enhancement New feature or request label Jun 20, 2025
@FedotCompot
Copy link
Contributor Author

Implemented also service port priority, the behavior was non deterministic if both ports are specified, mc-router being more specific takes precedence.

Copy link
Owner

@itzg itzg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great update. Just a typo to fix and it's good to merge.

Thanks!

Co-authored-by: Geoff Bourne <itzgeoff@gmail.com>
@FedotCompot
Copy link
Contributor Author

Accepted the change!

@itzg itzg merged commit 122910c into itzg:master Jun 20, 2025
2 checks passed
@itzg
Copy link
Owner

itzg commented Jun 20, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants