K8s redis cluster with sentinels, expose current master to hostip

im trying to figure out how to setup a hostip/loadbalancer ip for my applications to access the redis-cluster
3 nodes using redis-sentinel setup

ive tried first to set a hostip for 6379 service in the staefull-set but the issue is of course that if a node goes down then the hostip is not directing to the correct new master, so i get an write error.

how do i configure an externalip that always connect to the current master ?