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

Ingress solution #4

Open
juanluisvaladas opened this issue Mar 27, 2023 · 5 comments
Open

Ingress solution #4

juanluisvaladas opened this issue Mar 27, 2023 · 5 comments
Assignees
Labels
keep Exempts issues and pull requests from stale workflow
Milestone

Comments

@juanluisvaladas
Copy link
Collaborator

Currently the implementation only allows nodePort and what's worse, it has the port hardcoded.

We need an ingress solution that at minimum allows to choose:

  • No ingress at all (user will solve this manually)
  • NodePort Service

In the future it would be good to either use the gateway API or to have one load balancer managed by k0smotron.

@makhov makhov self-assigned this Apr 4, 2023
@makhov
Copy link
Contributor

makhov commented May 2, 2023

Now we have configurable ports for nodePort and LoadBalancer support. We decided not to go with a proper ingress for MVP, will return to it later

@makhov makhov closed this as completed May 2, 2023
@cwrau
Copy link
Contributor

cwrau commented Jul 15, 2024

Heyho, is it possible to reopen this now? We're also looking into using DNS for the clusters instead of IPs for everything.

Currently it looks like we can just use the ClusterIP service, set k0smotronControlPlane.spec.externalAddress to the DNS name and then create the Ingress ourselves using one of the generated tls secrets for TLS, is that correct?

@juanluisvaladas
Copy link
Collaborator Author

Hi @cwrau, it's not really a good moment to have this discussion because relevant people are on vacation.
I've reopened it and, when people are back we'll review this.

@jnummelin jnummelin added this to the 1.4 milestone Nov 7, 2024
@jnummelin
Copy link
Member

The challenge is not how to expose the hosted controlplane via Ingress, that part is pretty "trivial". Famous last words... 😂

The main challenge is, how do we configure the child clusters internals to understand the Ingress. So if we look at any cluster, there's always the internal API svc, in defaul k0s configs it's using 10.96.0.1 address. So how do we configure that to route to the Ingress?

Copy link

github-actions bot commented Feb 2, 2025

The issue is marked as stale since no activity has been recorded in 30 days

@github-actions github-actions bot added the Stale label Feb 2, 2025
@apedriza apedriza added keep Exempts issues and pull requests from stale workflow and removed Stale labels Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
keep Exempts issues and pull requests from stale workflow
Projects
None yet
Development

No branches or pull requests

5 participants