Proxy_pass in k8s

Hello,

I want to achieve this configuration on k8s:

server{
       server_name example; 
       location / {
           proxy_pass http://127.0.0.1:8001;
       }
}

After searching on web, its mentionned to create a file provider with dynamicconfiguration on it, with load balancer service.
My question is, should we create a service type LB on our namespace so ?

Regards,