<p>I am learning Kubernetes and I am having some doubts I read that Node can't be a part of the namespace and as shown below.</p>
<pre><code>$ kubectl api-resources 

NAME                              SHORTNAMES   APIGROUP     NAMESPACED   KIND
nodes                             no                         false        Node
</code></pre>
<p>It is mentioned that POD can be part of namespaces but my question is if the POD can be part of namespaces then why not Node? because POD presents inside node?</p>
<p>Any help on this would be very helpful.</p>

Shailesh Yadav
<p>A <strong>namespace</strong> is virtually you are defining while your Node and work load are actual stuff that is running.</p>
<blockquote>
<p>Namespaces are intended for use in environments with many users spread
across multiple teams, or projects. For clusters with a few to tens of
users, you should not need to create or think about namespaces at all.
Start using namespaces when you need the features they provide.</p>
</blockquote>
<p>consider the namespace as tag you are virtually assigning it doesn't matter where it is running.</p>
<p>Node is a <strong>physical</strong> thing and a container(POD) is running top of it.</p>
<p><strong>Note</strong>:</p>
<p>With configuration, you can make it possible to run a specific type of PODs (which are of single namespace) on a specific node but still for that thing you have to create the extra configuration.</p>
<p>But again it's design stuff of your application, if you want to do it or not.</p>
<p>For example, You created a namespace with the name <code>Database</code> and running MySQL container.</p>
<p>another namespace with the name <code>Application</code> running the <code>WordPress</code> container.</p>
<p>Both can run on same <strong>Node</strong>.</p>
