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

Remove default nginx ingress controller #210

Open
GerardoGR opened this issue May 29, 2024 · 8 comments
Open

Remove default nginx ingress controller #210

GerardoGR opened this issue May 29, 2024 · 8 comments

Comments

@GerardoGR
Copy link

Hi,

Is it possible to remove the default nginx ingress controller?. At my current employer, we do not need to deploy the default public ingress controller, instead we just need only an internal one. With the current implementation of aks-app-routing-operator (source), the default controller always gets created which always creates a public load balancer.

@JoeyC-Dev
Copy link

JoeyC-Dev commented Jun 3, 2024

I have seen #189, but not sure how to use it.

BTW, even w/o that PR, you still can replace the default one like here: Azure/AKS#4233 (comment)

@OliverMKing
Copy link
Collaborator

OliverMKing commented Jun 3, 2024

Hi,

Is it possible to remove the default nginx ingress controller?. At my current employer, we do not need to deploy the default public ingress controller, instead we just need only an internal one. With the current implementation of aks-app-routing-operator (source), the default controller always gets created which always creates a public load balancer.

This will be a new feature in the next month or two as part of the AKS ARM configuration. You'll be able to specify if you want a public, internal, or no default Ingress Controller.

In the meantime, I recommend the suggestion above of editing the default one.

@GerardoGR
Copy link
Author

@JoeyC-Dev thank you for the insight. I just wanted to avoid patching a resource that we do not control directly (the default controller). On the other hand, what @OliverMKing mentioned sounds even better. Looking forward for the update :)

@zjylo
Copy link

zjylo commented Jun 27, 2024

@OliverMKing Would the new feature include the ability to create a connected Private Link Service as per this doc or would we still need to patch the default resource?

https://learn.microsoft.com/en-us/azure/aks/internal-lb?tabs=set-service-annotations#create-a-private-link-service-connection

@OliverMKing
Copy link
Collaborator

@OliverMKing Would the new feature include the ability to create a connected Private Link Service as per this doc or would we still need to patch the default resource?

https://learn.microsoft.com/en-us/azure/aks/internal-lb?tabs=set-service-annotations#create-a-private-link-service-connection

The feature would allow you to specify "no default" and go completely custom. In that case, you'd fully control the lifecycle of all NginxIngressController custom resources and could connect with Private Link Service that way.

@sabbour
Copy link

sabbour commented Aug 14, 2024

This is now possible: https://learn.microsoft.com/en-us/azure/aks/app-routing-nginx-configuration?tabs=bicep#control-the-default-nginx-ingress-controller-configuration

@JoeyC-Dev
Copy link

Looks like the az-cli support is coming soon: Azure/azure-cli-extensions#7865

@TimEllens
Copy link

See hashicorp/terraform-provider-azurerm#27109 for the azurerm provider. Since it is still in preview they will wait for it to go to GA.

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

6 participants