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

Feature Request: Remove limitation for ingress controller service being a LoadBalancer service type #193

Open
cawirawa opened this issue Dec 19, 2023 · 0 comments

Comments

@cawirawa
Copy link

Overview

The current implementation of Caddy Ingress restricts the controller service to operate only with a LoadBalancer service type. This feature request aims to enhance flexibility by allowing the Caddy Ingress controller service to run within the Kubernetes cluster, eliminating the dependency on an external load balancer in certain deployment scenarios.

Use Cases

  • Environments where a dedicated load balancer is not necessary or available.
  • Development and testing setups where simplicity and resource efficiency are prioritized.
  • Deployments in which the cluster itself performs load balancing.
  • When using AWS EKS, in order to only expose the ingress to internal VPC subnets, AWS Load Balancer Controller is required. It sits on top of caddy ingress controller which eliminates the need for caddy ingress controller to be a LoadBalancer. In this scenario, the ideal type should be ClusterIP and the external IP will be issued by AWS LB Controller which routes the traffic to Caddy ingress controller.

Rationale

This change allows users to optimize resource utilization and simplifies the setup, particularly in scenarios where a separate load balancer introduces unnecessary complexity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant