Two ways to grab the Ignition for RHCOS/OCP4

There are two ways to grab the ignition files for the workers in the cluster:

  1. 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.


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.