Use curl to get the index.html in the pod `curl http://<node-ip:node-port& . . .

Mohamed Ayman:
Use curl to get the index.html in the pod curl http://<node-ip:node-port>
you can get the nodePort and node IP from the service description kubectl describe <service-name> , node IP will be defined as Endpoint

Kashif Ahsan:
root@controlplane:~# kubectl get nodes -o wide
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
controlplane Ready control-plane,master 22m v1.20.0 10.31.111.6 <none> Ubuntu 18.04.5 LTS 5.4.0-1046-gcp docker://19.3.0
root@controlplane:~# curl http://10.31.111.6:6443
Client sent an HTTP request to an HTTPS server.
root@controlplane:~#