hey I am using Anthos using this doc so i am able to configure ngnix server but i am unable to use it outside the world
I want to expose my nginx service to the outside world using metal load balancer
kubectl get all
NAME READY STATUS RESTARTS AGE
pod/nginx-6799fc88d8-lbc2p 1/1 Running 0 44m
pod/nginx2-5fc4444698-gfdq2 1/1 Running 0 16m
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/kubernetes ClusterIP 172.26.232.1 <none> 443/TCP 63m
service/nginx2 LoadBalancer 172.26.232.75 10.200.0.230 80:30655/TCP 16m
NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/nginx 1/1 1 1 44m
deployment.apps/nginx2 1/1 1 1 16m
NAME DESIRED CURRENT READY AGE
replicaset.apps/nginx-6799fc88d8 1 1 1 44m
replicaset.apps/nginx2-5fc4444698 1 1 1 16m
i want to access this service from outside so i exposed
kubectl expose deploy nginx2 --port 80 --type LoadBalancer
but when i go to browser and hit ip 10.200.0.230 it said this site can’t reached but internally i am able hit this ip from master node(admin machine) i am using kubernetes on-prem