title: Local host redirection with Cloud Shell and Kubernetes
body: <p>I'm a complete newbie with Kubernetes, and have been trying to get secure CockroachDB running. I'm using the instructions and preconfigured .yaml files provided by Cockroach. <a href="https://www.cockroachlabs.com/docs/stable/orchestrate-cockroachdb-with-kubernetes.html" rel="nofollow noreferrer">https://www.cockroachlabs.com/docs/stable/orchestrate-cockroachdb-with-kubernetes.html</a></p>
  
  <p>I'm using the Cloud Shell in my Google Cloud console to set everything up. Everything goes well, and I can do local SQL tests and load data. Monitoring the cluster by proxying to localhost, with the comnmand below starts off serving as expected</p>
  
  <pre><code>kubectl port-forward cockroachdb-0 8080
  </code></pre>
  
  <p>However, when using cloud shell web preview on port 8080 to attach to localhost,  the browser session returns "too many redirects". </p>
  
  <p>My next challenge will be to figure out how to expose the cluster on a public address, but for now I'm stuck on what seems to be a fairly basic problem. Any advice would be greatly appreciated.</p>