you need a loadbalancer or expose pod port such as user -> loadbalancer -> pod1 pod2
user -> machine_ip:port1 user -> machine_ip:port2
when you create a pod without -p, then you only got a pod with ip like 172.x.x.x and cannot access via network. you need to open a port link to your machine or loadbalancer