crc
crc copied to clipboard
Improvements in error codes and messages returned during `crc start`
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