Can't use two load balancers for the same Kubernetes pool?
I set up my Kubernetes. At first, it was one load balancer serving my static content and everything was working fine. Now, I’ve tried adding a second load balancer to serve my API but it doesn’t seem to work. In the control panel, it shows it’s not working Screenshot
And when I run
kubectl get all it appears to all be working fine:
NAME READY STATUS RESTARTS AGE pod/cinch-engine-8b8fb784b-zqkbw 1/1 Running 0 28m pod/cinch-static-64f9b98d88-tj5jl 1/1 Running 0 73m pod/pgdb-85c5d747cc-n6jn8 1/1 Running 5 73m NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE service/cinch-engine-load-balancer LoadBalancer 10.245.68.233 188.8.131.52 80:31173/TCP 73m service/cinch-static-load-balancer LoadBalancer 10.245.114.184 184.108.40.206 80:30119/TCP 73m service/kubernetes ClusterIP 10.245.0.1 <none> 443/TCP 4d5h service/pgdb ClusterIP 10.245.25.230 <none> 5432/TCP 73m NAME READY UP-TO-DATE AVAILABLE AGE deployment.apps/cinch-engine 1/1 1 1 73m deployment.apps/cinch-static 1/1 1 1 73m deployment.apps/pgdb 1/1 1 1 73m NAME DESIRED CURRENT READY AGE replicaset.apps/cinch-engine-8b8fb784b 1 1 1 28m replicaset.apps/cinch-static-64f9b98d88 1 1 1 73m replicaset.apps/pgdb-85c5d747cc 1 1 1 73m NAME COMPLETIONS DURATION AGE job.batch/cinch-engine-migrate 1/1 4m21s 73m