VMware Networking Community
superbaim90
Contributor
Contributor
Jump to solution

NSX Load Balancer with k8s

 

Hi,

We have a NSX Edge Gateway and a k8s env, i only got 1 public ip which tied to NSX edge to publish our app/sub domain. My configuration with subdomain vm other than k8s is working, but when i try to redirect a subdomain which app is inside k8s its fail. The error i got "503 Service Unavailable" No Server is available to handle this request.

When i try directly to ip private or subdomain app in k8s with port http(31024) and https(31025) its working. I only have 2 VS one for http and one for https,

Heres my app rules for http

redirect scheme https if !{ ssl_fc }

Heres my app rules for https

acl app_k8s_http hdr(host) -i apps01.mydomain.com
acl app_k8s_http hdr(host) -i apps02.mydomain.com
acl app_k8s_http hdr(host) -i apps03.mydomain.com

use_backend pool-k8s-http if app_k8s_http

heres my pool-k8s-http

poolpool

 Thanks

 

0 Kudos
1 Solution

Accepted Solutions
superbaim90
Contributor
Contributor
Jump to solution

-- nevermind

I just check the pool, with default http-monitor its shows down. Then i change to TCP and then the pool is up.

And then i use ssl-passthrough as application profile.

View solution in original post

Tags (1)
0 Kudos
1 Reply
superbaim90
Contributor
Contributor
Jump to solution

-- nevermind

I just check the pool, with default http-monitor its shows down. Then i change to TCP and then the pool is up.

And then i use ssl-passthrough as application profile.

Tags (1)
0 Kudos