<p>I am new with kubernettes. But I have installed ubuntu-server to my raspberry pi and now I am trying to forward the port for the dashboard.</p>

<p>I don't have any success, almost nothing happens and I can't see the dashboard in the cluster-info.</p>

<p>I tried following command:</p>

<pre><code>microk8s kubectl port-forward -n kube-system service/kubernetes-dashboard 10443:443
</code></pre>

<p>it freeze with following print out</p>

<pre><code>Forwarding from 127.0.0.1:10443 -&gt; 8443
Forwarding from [::1]:10443 -&gt; 8443
</code></pre>

<p>If I look up the cluster-info I says:</p>

<pre><code>cluster-info
Kubernetes master is running at https://127.0.0.1:16443
Heapster is running at https://127.0.0.1:16443/api/v1/namespaces/kube-system/services/heapster/proxy
CoreDNS is running at https://127.0.0.1:16443/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy
Grafana is running at https://127.0.0.1:16443/api/v1/namespaces/kube-system/services/monitoring-grafana/proxy
InfluxDB is running at https://127.0.0.1:16443/api/v1/namespaces/kube-system/services/monitoring-influxdb:http/proxy
</code></pre>

<p>Any idea to what I am doing wrong?</p>

Dasma
<p>Nothing is frozen - the command for port-forward is running in the foreground. If you have setup the service properly with the right port number everything should be working fine.</p>
<p>Try running the same as a background process, by adding &amp; at the end.</p>
<blockquote>
<p><code>microk8s kubectl port-forward -n kube-system service/kubernetes-dashboard 10443:443 &amp;</code></p>
</blockquote>
<p>If you want to kill it. Get the pid</p>
<blockquote>
<p><code>ps -aef</code></p>
</blockquote>
<p>and then kill it using the below command</p>
<blockquote>
<p><code>kill -9 pid-here</code></p>
</blockquote>
