From where does this 10.244.1.7: address comes from ?
Every pod gets its own ip.
Since pod comes and goes at will, you can not rely on that ip address. Thus the need for something like a
What you are
CURLing is the ip of that particular pod at the container target-port 8080
Take a look at the following.
kubectl get pod web-79d88c97d6-qj5sd -o wide