<p>I am following <a href="https://www.katacoda.com/kubeedge/scenarios/deployment" rel="nofollow noreferrer">Kubeedge</a> v1.0.0 deployment on Katacoda and on executing the following command.</p>

<pre><code>kubectl apply -f $GOPATH/src/github.com/kubeedge/kubeedge/build/node.json -s &lt;kubedge-node-ip-address&gt;:8080 
</code></pre>

<p>It gives me an error </p>

<blockquote>
  <p>error: unable to recognize "/root/kubeedge/src/github.com/kubeedge/kubeedge/build/node.json": no matches for kind "Node" in version "v1"</p>
</blockquote>

<p>Tried searching for this error but found no relevant answers. Anyone has idea on to get through this?</p>

<p>Below is the content of my <code>node.json</code> file </p>

<pre><code>{
  "kind": "Node",
  "apiVersion": "v1",
  "metadata": {
    "name": "edge-node-1",
    "labels": {
      "name": "edge-node",
      "node-role.kubernetes.io/edge": ""
    }
  }
} 
</code></pre>

Nitesh Ratnaparkhe
<p>I have reproduced it in <a href="https://www.katacoda.com/kubeedge/scenarios/deployment" rel="nofollow noreferrer">Katakoda</a> and in my case it works perfectly. I recommend you to go through the tutorial once again and take each step carefully.</p>

<p>You need to pay attention for step 7. Change <code>metadata.name</code> to the name of the edge node:</p>

<pre><code>vim $GOPATH/src/github.com/kubeedge/kubeedge/build/node.json

{
  "kind": "Node",
  "apiVersion": "v1",
  "metadata": {
    "name": "edge-node",
    "labels": {
      "name": "edge-node",
      "node-role.kubernetes.io/edge": ""
    }
  }
}
</code></pre>

<p>Then, execute following command, where you need to change IP address:</p>

<pre><code>kubectl apply -f $GOPATH/src/github.com/kubeedge/kubeedge/build/node.json -s &lt;kubedge-node-ip-address&gt;:8080
</code></pre>

<p>Another command to check if a correct API version was used, is:</p>

<pre><code>kubectl explain node -s &lt;kubedge-node-ip-address&gt;:8080
</code></pre>

<p>After successful creation of node you should see:</p>

<pre><code>node/edge-node created
</code></pre>
