<p>I can ssh into a jumphost from where I can accesss k8 cluster.
there is a particular pod which has a UI exposed on port 4040, how can I view that on my local browser ?</p>
<p>What I have figured out so far, by executing the below command</p>
<pre><code>kubectl port-forward podName 4040:4040
</code></pre>
<p>I can now access the UI (by text based browser) on jumphost</p>

Sharang Chopra
<p>Had to be done in two steps</p>
<p>1st run <code>kubectl port-forward podName 4040:4040</code> from jumpbox</p>
<p>2nd run <code>ssh -L 4040:localhost:4040 -i some_key.pem user@jumpbox-server</code> from the local machine</p>
<p>access <code>http://localhost:4040</code>  using browser</p>
