How can I expose a TCP service using AKS Gateway Controller

Andrei Dascalu 0 Reputation points
2024-06-12T12:08:21.19+00:00

Hello,

I have an AKS cluster where I have successfully deployed the Azure Application Gateway controller.

I have a GatewayClass for the "alb.networking.azure.io/alb-controller"

However, when I want to create a Gateway resource to use this with a TCP listener, it tells me that the listeners have to be HTTP or HTTPS.

I am unsure how to overcome this limitation and whether this is a limitation of the controller intself or the Application Gateway for Containers in Azure ?

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,127 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anveshreddy Nimmala 3,545 Reputation points Microsoft Vendor
    2024-06-13T04:08:06.3866667+00:00

    Hello Andrei Dascalu,

    Welcome to microsoft Q&A, thankyou for posting your query here.

    AGIC supports tcp/tls proxy , but this is still preview mode. Please find the below links to check on the same.

    tcp-tls-proxy-overview

    how to register-to-the-tcp/tls-proxy-preview

    also please find the below link if it helps you to configure better using Azure CNI or Calico.

    https://stackoverflow.com/questions/68881740/can-you-have-both-a-http-port-and-a-tcp-port-exposed-in-aks-using-application-ga

    Hope this helps you.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.