<p>After following the <a href="https://kubernetes.io/docs/tutorials/stateless-application/hello-minikube/" rel="noreferrer">hello-minikube guide</a> and installing minikube 0.26.1 the dashboard pod is not starting and also the <a href="https://kubernetes.io/docs/getting-started-guides/minikube/#quickstart" rel="noreferrer">hello-minikube</a> pod is not getting started. </p>

<p>A <code>kubectl describe pod xxx</code> shows that the pod could not get scheduled.</p>

<pre><code>Events:
 Type     Reason            Age                  From              Message
 ----     ------            ----                 ----               -------
 Warning  FailedScheduling  3m (x3368 over 16h)  default-scheduler  0/1 nodes are available: 1 node(s) had taints that the pod didn't tolerate.
</code></pre>

<p>This has to do with <a href="https://kubernetes.io/blog/2017/03/advanced-scheduling-in-kubernetes" rel="noreferrer">taints and tolerations</a> in k8s versions starting from 1.6.
By default the master node has a <code>NoSchedule</code> taint.</p>

<pre><code># kubectl describe node minikube
Name:               minikube
Roles:              master
[...]
Taints:             node-role.kubernetes.io/master:NoSchedule
</code></pre>

<p>You can add tolerations to the pods as described in <a href="https://stackoverflow.com/a/48496629/1326662">this answer</a> - but in my case I do not want to edit any pod specs as I want to test my deployments locally 1:1 as in a live k8s environment.</p>

<p>The other option is to delete the taint on the master node. See the documentation <a href="https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/" rel="noreferrer">here</a> and <a href="https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/" rel="noreferrer">there</a>.</p>

<pre><code>kubectl taint nodes --all node-role.kubernetes.io/master-
</code></pre>

<p>In the specific case of a local minikube setup with only one node and testing deployments locally without adding tolerations this works as well: </p>

<pre><code>kubectl taint nodes minikube node-role.kubernetes.io/master:NoSchedule-
</code></pre>

<p>This should be part of the minikube getting started guide imho.</p>
