title: Redis sentinel cluster in kubernetes, sentinel is not able to reach redis master
body: <p>I am working on creating a Redis sentinel cluster by using below:</p>
  
  <p><a href="https://github.com/kubernetes/examples/tree/master/staging/storage/redis" rel="nofollow noreferrer">https://github.com/kubernetes/examples/tree/master/staging/storage/redis</a></p>
  
  <p>It's working awesome with the given image, but when we use the Redis official image the sentinel is not able to connect to Redis in the first pod. </p>
  
  <p>It's showing below error:</p>
  
  <blockquote>
    <p>Could not connect to redis at -p:6379</p>
  </blockquote>
  
  <p>How can I create a cluster with the official image of Redis?</p>