
If you are not familiar with the oc command, refer to OpenShift - Getting Started with the oc command.
I like to think of a machine as OpenShift representation of a Virtual Machine, such as an Amazon Web Services (AWS) EC2 Instance, or a VMWare Virtual Machine, and then a Node, and then the pods running on the node. Machine Configs can be used to configure the Virtual Machine Operating System, such as configuring a Linux systemd service such as sshd or chronyd or Network Manager.
There are different types of nodes.
- edge
- master
- worker
The oc label node command can be used to apply one or more labels to a node. In this example, label region=east is applied to the node named worker-c4v5h.
~]$ oc label node worker-c4v5h region=east
node/worker-c4v5h labeled
Or in the OpenShift console, at Compute > Nodes you can edit a nodes labels.

And the oc describe node command can be used to see the labels that have been applied to the node.
~]$ oc describe node worker-c4v5h
Name: worker-c4v5h
Roles: infra,worker
Labels: region=east
Or in the OpenShift console, at Compute > Nodes you can view a nodes labels.

And here is how you can remove a label. In this example, the region label will be removed.
~]$ oc label node worker-c4v5h region-
node/worker-c4v5h labeled
Did you find this article helpful?
If so, consider buying me a coffee over at