Openshift - Machine Config (MC)
Commands
Display Machine Config (MC):
Display Machine Config Pool (MCP):
Display logs of MC controller:
Scripts
List apply and desired MC on all nodes:
oc get no -o json |jq -jr '.items[].metadata|
.name,",",
.annotations."machineconfiguration.openshift.io/currentConfig",",",
.annotations."machineconfiguration.openshift.io/desiredConfig","\n"' | column -t -s ','
Compare 2 machine configs: