LAB install worker node component

[email protected]:~$ kubectl get nodes --kubeconfig admin.kubeconfig

error: stat admin.kubeconfig: no such file or directory
[email protected]:~$

You have to give an absolute path of admin.kubeconfig file like /root/certs/admin.config. Where it is stored. If you want to run this command like this then you have to put that file in current path.

It was a mistake, I am checking in worker instead of master, thanks