<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>

Asis Patra
<p>From <a href="https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/" rel="nofollow noreferrer">here</a></p>

<blockquote>
  <p>By default, your cluster will not schedule pods on the master for
  security reasons. If you want to be able to schedule pods on the
  master, e.g. for a single-machine Kubernetes cluster for development,
  run:</p>
</blockquote>

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