I have install k8s by bare meta Ubuntu getting started guide. How to set node label? I think to set several categories for nodes. And I create rc on same caterory nodes. How write rc file(yml or json)?
to add a label to the node you've chosen, run kubectl label nodes <node-name> <label-key>=<label-value>
from the doc quoted above.