Worker nodes in OpenShift Container Platform 4.3 can run either Red Hat Enterprise CoreOS (RHCOS) or Red Hat Enterprise Linux 7.6. This section describes how to add a worker node that is running RHCOS.
Adding the CoreOS worker node
To add worker nodes that are running RHCOS, use Ansible playbooks that were initially used to create worker nodes. Follow these steps:
- Edit the Ansible inventory file that you generated in Preparing and running Ansible playbooks, and add information about the new worker node.
Note: You cannot use a Python script to update an existing inventory file. Manually add the worker node as an item in the list with the keys name, ip, and mac. Update the value of the key number_of_workers in the inventory file.
- As user ansible in CSAH node, run the playbooks:
[ansible@csah ~]$ ansible-playbook -i <updated inventory file path> <git clone dir>/containers/ansible/ocp.yml
Note: Re-add any manual entries in DNS, HAProxy for Red Hat Enterprise Linux worker nodes for both forward lookup and reverse lookup. The playbook updates the entries based on the inventory files and deletes any other entries. See steps 4, 5, 16, and 17 in Adding a Red Hat Enterprise Linux worker node.
- Boot the worker node and ensure that it has been added to the cluster.
For instructions, see Installing worker nodes.
- Accept the new worker node certificate and, as user core in CSAH, run oc get nodes and verify that the node is visible.
Follow the guidelines in Validating and approving Certificate Signing Requests.