<p>I've applied the yaml for the <a href="https://github.com/kubernetes/dashboard" rel="nofollow noreferrer">kubernetes dashboard</a>.</p>

<p>Now I want to expose this service with the public IP of my server: <a href="https://kubernetes.io/docs/tutorials/stateless-application/expose-external-ip-address/#objectives" rel="nofollow noreferrer">https://kubernetes.io/docs/tutorials/stateless-application/expose-external-ip-address/#objectives</a></p>

<p>But there is no service/deployment on my cluster:</p>

<pre><code>$ sudo kubectl get services kubernetes
NAME         TYPE        CLUSTER-IP   EXTERNAL-IP   PORT(S)   AGE
kubernetes   ClusterIP   10.96.0.1    &lt;none&gt;        443/TCP   63d
$ sudo kubectl get deployment
NAME               READY   UP-TO-DATE   AVAILABLE   AGE
</code></pre>

<p>What did I do wrong?</p>

<p>Thanks for the help</p>

Warok
<p>The command that you ran is fetching objects in <strong>default</strong> namespace.</p>

<p>However, Dashboard is deployed on <strong>kube-system</strong> namespace.</p>

<pre><code>kubectl -n kube-system get services kubernetes
kubectl -n kube-system get deployment
</code></pre>

<p>I am giving you this info according to the link that you share <a href="https://github.com/kubernetes/dashboard" rel="nofollow noreferrer">kubernetes dashboard</a> . And namely the <a href="https://raw.githubusercontent.com/kubernetes/dashboard/v1.10.1/src/deploy/recommended/kubernetes-dashboard.yaml" rel="nofollow noreferrer">YAML file</a></p>
