title: Node.js Connecting to redis cluster
body: <p>There are tons of examples and resources for connecting to a redis "server" but not to a redis "cluster".  </p>
  
  <p>What I currently have is: </p>
  
  <pre><code>const redis = require("redis"); 
  const client = redis.createClient({
   port      : 6379,               // replace with your port
   host      : '10.0.0.100',        // replace with your hostanme or IP address
   password  : 'Notforyou',    // replace with your password
   // optional, if using SSL
   // use `fs.readFile[Sync]` or another method to bring these values in
   tls       : {
     key  : stringValueOfKeyFile,  
     cert : stringValueOfCertFile,
     ca   : [ stringValueOfCaCertFile ]
   }
  });
  </code></pre>
  
  <p>But this is for a single redis server not a cluster. How would I go about connecting to my cluster?</p>