Issue
Exposed service or pods as NodePort and LoadBalancer as-well but application is not accessible on web/external
![](https://i0.wp.com/myfuturehub.com/wp-content/uploads/2021/08/Screenshot-2021-08-21-at-12.31.05-PM.png?resize=1024%2C234&ssl=1)
Common mistakes
- Trying to use the server IP:port is a blunder instead we should use node_IP:port.
Run below command to find the node IP addresses
kubectl get nodes -o wide | awk {‘print $1″ ” $2 ” ” $7’} | column -t
- Using the same pvc (Persistent Volume Claim), Check the below Resolution :
Resolution
- Created new PVC
Old file
![](https://i0.wp.com/myfuturehub.com/wp-content/uploads/2021/08/Screenshot-2021-08-21-at-12.33.57-PM.png?resize=231%2C235&ssl=1)
Correct PVC name in yaml file
![](https://i0.wp.com/myfuturehub.com/wp-content/uploads/2021/08/Screenshot-2021-08-21-at-12.34.55-PM.png?resize=1024%2C288&ssl=1)
Update deployment file with right PVC name
![](https://i0.wp.com/myfuturehub.com/wp-content/uploads/2021/08/Screenshot-2021-08-21-at-12.35.32-PM.png?resize=395%2C220&ssl=1)
Thanks for checking this post, please comment in your inputs.