<p>I want to use the resources of master node of kubernetes cluster for my application which will be launched. </p>

<p>How to use the master node as worker node in Kubernetes cluster?</p>

<p>I have two nodes setup. I can launch a job from master node which is running on worker node. But I dont want to waste my Master node resources.</p>

<p>As <a href="https://stackoverflow.com/questions/43147941/allow-scheduling-of-pods-on-kubernetes-master/55377425#55377425">this link</a> </p>

<p>First, get the name of the master</p>

<pre><code>kubectl get nodes

NAME     STATUS   ROLES    AGE   VERSION
yasin   Ready    master   11d   v1.13.4
</code></pre>

<p>as we can see there is one node with the name of yasin and the role is master. If we want to use it as worker we should run</p>

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