How to create TCP/IP loadbalancer/applicationgateway for Azure Kubernetes cluster

12/10/2019
  1. I have an Azure Kubernetes Cluster.
  2. I have created the TCP/IP server as a service and deployed it in the same cluster.
  3. I have other .net core multiple microservices deployed in the same cluster.
  4. Now I want to create the application gateway/Loadbalancer/ingress, which supports the TCP/IP request.

Does anybody have any suggestions? As I know Applicationgateway/ingress supports only HTTP/S but not TCP/IP, anybody has any suggestions, I want to use the TCP/requests, not the HTTP/S...

-- Manju
azure
azure-aks
azure-kubernetes
azure-load-balancer
kubernetes-ingress

1 Answer

12/10/2019

nginx ingress supports tcp\udp ingress.

apiVersion: v1
kind: ConfigMap
metadata:
  name: tcp-services
  namespace: ingress-nginx
data:
  9000: "default/example-go:8080"

Load balancer also supports tcp requests, so that combination would work

-- 4c74356b41
Source: StackOverflow