cancel
Showing results for 
Search instead for 
Did you mean: 
dinas
Cadet
Cadet
  • 1,609 Views

Error: missing or incomplete config info. Please point to existing config file

oc get pod

Error: missing or incomplete config info. Please point to existing config file

 

-- via command line flag --kube-config.. 

 

Labels (1)
6 Replies
SIVARAJ_N
Cadet
Cadet
  • 1,425 Views

1. Please try "lab install-troubleshoot start" command in workstation. 

2. check this path  /etc/usr/local/etc/ocp4.config

After try to login. 

LokendraP
Cadet
Cadet
  • 380 Views

not working "lab install-troubleshoot start" this command 

Error: No such command 

0 Kudos
pavkata
Cadet
Cadet
  • 200 Views

i have the same issue in my DO180 training.
any solution that works

0 Kudos
ARoumiantsev
Mission Specialist
Mission Specialist
  • 190 Views

Please, put attention under which environment you are working. Should be:

host: workstation, user: student, working directory: /home/student

Good luck

0 Kudos
pavkata
Cadet
Cadet
  • 187 Views

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 ~]$

0 Kudos
ARoumiantsev
Mission Specialist
Mission Specialist
  • 184 Views

Please, start with lab start install-troubleshoot  ( or same lab command from Student Guide ) as @SIVARAJ_N  recommend

0 Kudos
Join the discussion
You must log in to join this conversation.