Not able to access deployment from external network kubernetes

54 views Asked by At

I am new to Kubernetes and have a limited understanding of the Kubernetes networking part. problem context:

  • Minikube installed on VM (RHEL 8) [minikube start --driver=docker]
  • under minikube node have a deployment with the service (type: nodePort) with port mapping as 8008:30000 (refer to screenshot)

so now the confusion is I am able to access the application (in deployment) using curl < node-ip>:< node-port> inside the VM (x.y.z.w), but while trying to access from my external network, using URL as x.y.z.w:30000, I am not able to, what am I missing here?

or do I need to use ingress (with Nginx) here?

0

There are 0 answers