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

Option to use ingress instead of load balancers #114

Closed
wants to merge 1 commit into from
Closed

Commits on Jul 12, 2024

  1. Option to use ingress instead of load balancers

    The users of the kube deployer have complained that a load balancer per
    public listener is expensive. Also, using a load balancer service is quite
    limiting in terms of functionality (e.g., doesn't allow https traffic, to specify
    TLS rules, etc.)
    
    This PR adds an ingress resource to route external traffic to the
    application.
    
    If the user specifies hostnames for their public listeners, we'll create
    an ingress resource that will forward the external traffic to each
    public listener, based on their hostnames. Otherwise, we'll keep the
    existing behavior, where each public listener is reachable via a load
    balancer.
    
    Note that we create a single ingress resource per application (unique
    name). I.e., when the user rolls out a new version of the app, the
    traffic will be instantaneously migrated to the new version of the app.
    
    An alternative would be to create an ingress per application version.
    However, this doesn't really work unless the routing rules include
    subpaths that are app version specific. This would require the user to
    control the routing rules. However, this is possible if the user will
    manually edit the generated manifest for the ingress.
    rgrandl committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    096400d View commit details
    Browse the repository at this point in the history