Creating RHOCP Ignition File
This section provides information about creation of kubernetes manifest and generation of ignition files as a part of installation of cluster on bare metal using OpenShift Container Platform version 4.3.
In OpenShift Container Platform version 4.3, you can install a cluster on bare metal infrastructure that is provisioned.
Prerequisites
Ensure that the required artifacts are downloaded before starting the installation, see Download RHOCP and HPE Nimble CSI driver artifacts.
Procedure
The NPS provides modular commands for performing the individual operations.
- Display ignition file creation information.
The show command is used to display the information of the component such as configuration details of RHOCP cluster, and state of the ignition file creation.nps show –-data vim
Create the ignition file.
The following is the NPS RHOCP command to create ignition file.
The command takes the create ignition file tonps deploy –s rhocp –a create-ignition-files
/var/nps/ISO/ign_config/
of VIM container.This command takes approximately 3 minutes to complete.
On successful completion of the command, the VIM state will be changed to
IGNITION_FILES_CREATED
.
Verification
Verification of creation of ignition file can be performed by using either command or manual verification steps.
- Run the following NPS command to retrieve the state of ignition file creations:
nps show -data vim
- In case of success the final ignition files are created at
/var/nps/ISO/ign_config/
NOTE:In case of any error, see Failure during creation of ignition file.