Problem:
Sometime, when testing in a new CRC env in windows OS. When running masinst.bat, I got "error: You must be logged in to the server (Unauthorized)" as below:
Solution:
Before running masinst.bat, please make sure you have login the cluster as below:
oc.exe login -u kubeadmin -p (your password) https://api.crc.testing:6443
Problem: Sometime, when testing in a new CRC env in windows OS. When running masinst.bat, I got "error: You must be logged in to the server (Unauthorized)" as below:
Solution: Before running masinst.bat, please make sure you have login the cluster as below: oc.exe login -u kubeadmin -p (your password) https://api.crc.testing:6443