Open eliassal opened 9 months ago
Hi,
Try following the steps below to see if they resolve your issues:
Check Permissions: Verify the permissions of the .kube/config file using the command:
ls -l /home/myuser/.kube/config
If necessary, correct the permissions using:
chmod 600 /home/myuser/.kube/config
Check Kubectl Configuration: Ensure that the Kubernetes configuration file (config) in the .kube directory is correctly configured. Sometimes, errors in the configuration file can lead to permission issues.
Check Kubernetes Context: Confirm that the Kubernetes context you're attempting to use (such as yellow) is properly configured in your Kubernetes configuration file.
Let me know if these steps help! If you need further assistance, feel free to ask.
Hi I followed instructions and setup ctx and ns on a ubuntu node. When I run
kubectl ns
it lists all namespaces, however, when I runkubectl ns yellow
I get a permissions error as followsIn spite of the fact that I have done the setup while I am logged with myuser.Any idea how this can be fixed?