There are two ways to grab the ignition files for the workers in the cluster:
- A downloaded ignition file stored (in data folder) using curl:
curl -k http://api.demo.ocp-multiarch.xyz:22623/config/worker -o worker.ign -H "Accept: application/vnd.coreos.ignition+json;version=3.2.0"
2. Download the ignition file using the oc commandline
oc extract -n openshift-machine-api secret/worker-user-data --keys=userData --to=-
I’m adding this because I use it every day, and others might find it helpful.