You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 run
kubectl ns yellow
I get a permissions error as follows
In spite of the fact that I have done the setup while I am logged with myuser.Any idea how this can be fixed?
The text was updated successfully, but these errors were encountered: