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

Is it possible to expose TCP/UDP services via Managed Nginx Ingress? #4746

Open
haiderim opened this issue Jan 15, 2025 · 1 comment
Open
Labels

Comments

@haiderim
Copy link

I tried following the kubernetes documentation but it didn't seem to work.

https://kubernetes.github.io/ingress-nginx/user-guide/exposing-tcp-udp-services/

My use case is that I'll be deploying posgres, redis, mariadb clusters using kubeblock and would like to use the existing internal app routing managed nginx ingress.

Is it something that's supported? I couldn't find anything in the AKS documentation.

@haiderim
Copy link
Author

haiderim commented Jan 15, 2025

For now I have patched the postgresql cluster service to use the existing standard internal load balancer which has worked for me.

kubectl patch svc kb-db-c-01-postgresql-postgresql -n kb-db-ns --patch '
{
"metadata": {
"annotations": {
"service.beta.kubernetes.io/azure-load-balancer-internal": "true"
}
},
"spec": {
"type": "LoadBalancer"
}
}'

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

No branches or pull requests

1 participant