1. [root@master ~]# kubectl get nodes
    2. NAME STATUS ROLES AGE VERSION
    3. master Ready master 67d v1.18.1
    4. node01 Ready <none> 67d v1.18.1
    5. node02 Ready <none> 67d v1.18.1

    [root@master ~]# kubectl get node —show-labels
    NAME STATUS ROLES AGE VERSION LABELS
    master Ready master 67d v1.18.1 beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,kubernetes.io/arch=amd64,kubernetes.io/hostname=master,kubernetes.io/os=linux,node-role.kubernetes.io/master=
    node01 Ready 67d v1.18.1 beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,kubernetes.io/arch=amd64,kubernetes.io/hostname=node01,kubernetes.io/os=linux
    node02 Ready 67d v1.18.1 beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,kubernetes.io/arch=amd64,kubernetes.io/hostname=node02,kubernetes.io/os=linux
    [root@master ~]# kubectl label nodes node01 node-role.kubernetes.io/node=
    node/node01 labeled
    [root@master ~]# kubectl get nodes
    NAME STATUS ROLES AGE VERSION
    master Ready master 67d v1.18.1
    node01 Ready node 67d v1.18.1
    node02 Ready 67d v1.18.1
    [root@master ~]# kubectl label nodes node02 node-role.kubernetes.io/node=
    node/node02 labeled
    [root@master ~]# kubectl get nodes
    NAME STATUS ROLES AGE VERSION
    master Ready master 67d v1.18.1
    node01 Ready node 67d v1.18.1
    node02 Ready node 67d v1.18.1