crc icon indicating copy to clipboard operation
crc copied to clipboard

Improvements in error codes and messages returned during `crc start`

Open vyasgun opened this issue 4 months ago • 0 comments

Follow up for: https://github.com/crc-org/crc/issues/4284

In the pull request created for the above issue, certain improvements were discussed in the different error codes being returned during crc start. The ones discussed till now are:

  • Different error codes being returned will allow the user to ignore certain error codes (such as cluster unstable)
  • The cannot update kubeconfig message can be more descriptive for the user
    • Additional message about how to access the cluster can be added (like export KUBECONFIG=$HOME/.crc/machine/crc/kubeconfig or use oc --kubeconfig=$HOME/.crc/machine/crc/kubeconfig) to assist the user in debugging

vyasgun avatar Oct 08 '24 10:10 vyasgun