title: Liveness probe failed when using lettuce instead of jedis in spring-starter-data-redis
body: <p>I have a spring boot application using spring cloud bom : <code>Hoxton.SR1</code>
  The app is deployed in a kubernetes cluster.</p>
  <p>To connect the app to the redis database I tested 2 different configuration :</p>
  <ul>
  <li>Jedis connection pool configuration :</li>
  </ul>
  <p><code>pom.xml</code> :</p>
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
      &lt;artifactId&gt;spring-boot-starter-data-redis&lt;/artifactId&gt;
      &lt;exclusions&gt;
          &lt;exclusion&gt;
              &lt;groupId&gt;io.lettuce&lt;/groupId&gt;
              &lt;artifactId&gt;lettuce-core&lt;/artifactId&gt;
          &lt;/exclusion&gt;
      &lt;/exclusions&gt;
  &lt;/dependency&gt;
  &lt;!-- jedis --&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;redis.clients&lt;/groupId&gt;
      &lt;artifactId&gt;jedis&lt;/artifactId&gt;
  &lt;/dependency&gt;
  </code></pre>
  <p><code>application.yml</code> :</p>
  <pre><code>spring:
    redis:
      host: localhost
      port: 6379
      password: password
      database: 0
      jedis:
        pool:
          min-idle: 0
          max-idle: 12
          max-active: 12
          max-wait: 500ms
  </code></pre>
  <p>Deployment in the K8S cluster works well.</p>
  <ul>
  <li>Lettuce connection pool configuration :
  <code>pom.xml</code> :</li>
  </ul>
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
      &lt;artifactId&gt;spring-boot-starter-data-redis&lt;/artifactId&gt;
  &lt;/dependency&gt;
  &lt;!--lettuce connection pool--&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.apache.commons&lt;/groupId&gt;
      &lt;artifactId&gt;commons-pool2&lt;/artifactId&gt;
  &lt;/dependency&gt;
  </code></pre>
  <p><code>application.yml</code> :</p>
  <pre><code>spring:
    redis:
      host: localhost
      port: 6379
      password: password
      database: 0
      lettuce:
        pool:
          min-idle: 0
          max-idle: 12
          max-active: 12
          max-wait: 500ms
  </code></pre>
  <p>Deployment in the K8S cluster DOES NOT WORK, error is : <code>Liveness probe failed: Get http://10.68.13.246:8080/actuator/health: net/http: request canceled (Client.Timeout exceeded while awaiting headers)</code>.</p>
  <p>What am I missing ?
  What could be the root cause of this ?
  Is it related to spring actuator or lettuce connector ?</p>