-
Story
-
Resolution: Done
-
Normal
-
None
-
None
This can be done in conjunction with MCO-1056 or separately. It is used to list rendered configs. This will have the following arguments:
- Pool name, which would show the rendered MCs for this particular pool. If not set, all rendered MCs are displayed, ordered by pool. This argument is not required.
- inuse flag, this will filter the output to show only in use rendered MCs. If not set, all rendered MCs are displayed. This argument is not required.
$ oc adm prune renderedmachineconfigs list # lists all rendered MCs for all pools $ oc adm prune renderedmachineconfigs list --pool-name =worker # lists all rendered MCs for worker pool $ oc adm prune renderedmachineconfigs list --in-use # lists all rendered MCs that are currently in use by the cluster's machineconfigpools $ oc adm prune renderedmachineconfigs list --in-use=false --pool-name=worker # lists all rendered MCs for the worker pool