- To validate API server is operational:
# If API server is operational you should be able to retrieve API version curl -k $(oc whoami --show-server)/version # To catch the return code equals to 200 curl -o /dev/null -s -w "%{http_code}\n" -k $(oc whoami --show-server)/version
- To validate the MachineConfigServer is operational:
# Check valid 200 code curl -o /dev/null -s -w "%{http_code}\n" -k $(oc whoami --show-console):22623/config/master # To retrieve the actual Master rendered Ignition curl -k $(oc whoami --show-console):22623/config/master
Last active
February 7, 2020 16:55
-
-
Save williamcaban/c7ddc7e79223817f7aa550154ce5d158 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment