Hello @Mayank Arora ,
YAML syntax looks good. Can you check after deploying the above YAML file are you getting EXTERNAL_IP column getting populated with some IP ?
If that column value is in pending state , please do the describe of service
kubectl describe svc create-account-service
In the events section you should be able to see the reason why the IP is not getting provisioned.
Also in the above output check if the endpoints got updated with POD IPs
In the YAML file , Just make sure the selector value is pointing to the pod selector.
You can also try exposing the POD using imperative kubectl command like below:
kubectl expose pod nginx --name=nginx-svc --type=LoadBalancer --port=5000 --target-port=5000 (This command is for exposing a sample nginx pod)
Let us know if that helps out !