Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Kubernetes service discovery #187

Open
clrxbl opened this issue Mar 24, 2023 · 4 comments
Open

feat: Kubernetes service discovery #187

clrxbl opened this issue Mar 24, 2023 · 4 comments
Labels
enhancement New feature or request (not a bug) gate-lite Regarding Gate Lite mode good first issue Good for newcomers priority/low Low priority task

Comments

@clrxbl
Copy link

clrxbl commented Mar 24, 2023

Surprising to see that this has not been implemented or mentioned anywhere yet (unless I'm blind) considering this project is all about being cloud-native.

https://github.com/itzg/mc-router#kubernetes-usage is a great example for forced hosts, but it'd be nice to expand this to Pod support aswell.

@robinbraemer robinbraemer added enhancement New feature or request (not a bug) good first issue Good for newcomers gate-lite Regarding Gate Lite mode priority/low Low priority task labels Mar 24, 2023
@robinbraemer
Copy link
Member

robinbraemer commented Apr 6, 2023

Kubernetes's KRM can be a good configuration source for the Gate Lite mode.
Currently, Gate Lite only sources its configuration from the local configuration file.

To add this feature we can make use of the existing live config reload feature and a k8s adapter to update Gate config file to sync with Kubernetes resources.

I'll consider this feature request when I see more demand for it.

@robinbraemer robinbraemer changed the title Kubernetes service discovery feat: Kubernetes service discovery Apr 6, 2023
@Bloeckchengrafik
Copy link

To anyone who wants to implement this: I've just built something similar for one of my projects:

everbuild-org/prismcloud#images/ingress-gate/gate/plugin/service_discovery

@robinbraemer
Copy link
Member

@Bloeckchengrafik
Copy link

Thanks a lot for the suggestion! I'll do that when it becomes somewhat production ready!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request (not a bug) gate-lite Regarding Gate Lite mode good first issue Good for newcomers priority/low Low priority task
Projects
None yet
Development

No branches or pull requests

3 participants