<p>I am currently doing some scenarios on Katacoda and I am curious about the node roles.</p>
<p>My cluster has 2 nodes and one has the role Master and the other has no role.</p>
<pre><code>NAME           STATUS   ROLES    AGE     VERSION
controlplane   Ready    master   5m11s   v1.18.0
node01         Ready    &lt;none&gt;   4m40s   v1.18.0
</code></pre>
<p>Now when I look at the pods in my cluster, it seems like all three pods are assigned to node01</p>
<pre><code>kubectl get pods -o wide
NAME                             READY   STATUS    RESTARTS   AGE    IP           NODE     NOMINATED NODE   READINESS GATES
random-logger-7687d48b59-jftl9   1/1     Running   0          26s    10.244.1.5   node01   &lt;none&gt;           &lt;none&gt;
random-logger-7687d48b59-mwz4h   1/1     Running   0          26s    10.244.1.4   node01   &lt;none&gt;           &lt;none&gt;
random-logger-7687d48b59-vgbc8   1/1     Running   0          117s   10.244.1.3   node01   &lt;none&gt;           &lt;none&gt;
</code></pre>
<p>My understanding is that the scheduler puts pods on notes that are assigned the worker role, so why are they being scheduled on a node with no role? Is a node with no role in the cluster assumed to be a worker node?</p>

aj31
<p>use <code>kubectl describe nodes my-node</code> to see the details of the node</p>
<p>A node <code>role</code> is just a label with the format node-role.kubernetes.io/</p>
<p>You can add this yourself with 'kubectl label'</p>
