<p>Add label to nodes:  </p>

<pre><code>$ kubectl label nodes 10.xx.xx.xx key1=val1 
</code></pre>

<p>If I want to delete <code>label(key1=val1)</code> on node(10.xx.xx.xx), how can I delete by kubectl command and API?</p>

<p><strong><em>create labels for the nodes:</em></strong></p>

<p><code>kubectl label node &lt;nodename&gt; &lt;labelname&gt;=allow</code></p>

<p><strong><em>delete above labels from its respecitve nodes:</em></strong></p>

<p><code>kubectl label node &lt;nodename&gt; &lt;labelname&gt;-</code></p>
