Does Redis HA Helm Chart ensure that the endpoint picked by the service is always the master


noel.varghese.22@...
 

Hey was trying to deploy a redis cluster on top of openshift/kubernetes, looked at a dozen examples, but in my usecase the client can only connect to a master host and port. 

Recently came across this helm chart => https://github.com/helm/charts/tree/master/stable/redis-ha
If there is someone who has knowledge about redis can they take a look at the yaml files and tell me that if I try connecting using the headless service hostname, will I always connect to  the master redis node. Or if it is even possible to achieve that in openshift/kubernetes. i.e a highly available redis connection url , no matter what happens to the pods, after the sentinel handle the failovers, the redis ha service url and redis port should connect to the master everytime and not the redis instances in the cluster.