<p>I am trying to label gpu to my node
This does not work</p>

<pre><code>kubectl label node gke-kubia-default-pool-98519add-25c1/10.164.0.3 gpu=true
error: there is no need to specify a resource type as a separate argument when passing arguments in resource/name form (e.g. 'kubectl get resource/&lt;resource_name&gt;' instead of 'kubectl get resource resource/&lt;resource_name&gt;'
</code></pre>

<p>Neither without node</p>

<pre><code>kubectl label gke-kubia-default-pool-98519add-25c1/10.164.0.2 gpu=true
error: the server doesn't have a resource type "gke-kubia-default-pool-98519add-25c1"
</code></pre>

<p>I think that node exists</p>

<pre><code>Name:         kubia-manual-v2
Namespace:    default
Node:         gke-kubia-default-pool-98519add-hsrc/10.164.0.2
Start Time:   Fri, 08 Jun 2018 14:58:04 +0200
</code></pre>

<p>How to set the label?</p>

<p>How to list available nodes?</p>

<p>I have solved my problem.First</p>
<pre><code>kubectl get no
NAME                                   STATUS    ROLES     AGE       VERSION
gke-kubia-default-pool-98519add-25c1   Ready     &lt;none&gt;    20h       v1.8.10-gke.0
gke-kubia-default-pool-98519add-5kfr   Ready     &lt;none&gt;    20h       v1.8.10-gke.0
gke-kubia-default-pool-98519add-hsrc   Ready     &lt;none&gt;    20h       v1.8.10-gke.0
</code></pre>
<p>Then</p>
<pre><code>kubectl label node gke-kubia-default-pool-98519add-25c1 gpu=true
# output:
node &quot;gke-kubia-default-pool-98519add-25c1&quot; labeled
</code></pre>
