Add label to nodes:
$ kubectl label nodes 10.xx.xx.xx key1=val1
If I want to delete label(key1=val1) on node(10.xx.xx.xx), how
label(key1=val1)
You can remove the label from a single node using the following kubectl command
kubectl label node 10.xx.xx.xx Key1-
If you want to remove the label for all the nodes, use the following command
kubectl label nodes --all Key1-