oc get pod
Error: missing or incomplete config info. Please point to existing config file
-- via command line flag --kube-config..
1. Please try "lab install-troubleshoot start" command in workstation.
2. check this path /etc/usr/local/etc/ocp4.config
After try to login.
not working "lab install-troubleshoot start" this command
Error: No such command
i have the same issue in my DO180 training.
any solution that works
Please, put attention under which environment you are working. Should be:
host: workstation, user: student, working directory: /home/student
Good luck
thank you for the reply. I am in the correct environment:
[student@workstation ~]$ whoami
student
[student@workstation ~]$ pwd
/home/student
[student@workstation ~]$ oc version
Client Version: 4.14.0
Kustomize Version: v5.0.1
[student@workstation ~]$ oc whoami
error: Missing or incomplete configuration info. Please point to an existing, complete config file:
1. Via the command-line flag --kubeconfig
2. Via the KUBECONFIG environment variable
3. In your home directory as ~/.kube/config
To view or setup config directly use the 'config' command.
[student@workstation ~]$
Please, start with lab start install-troubleshoot ( or same lab command from Student Guide ) as @SIVARAJ_N recommend
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.