Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

current-context is not set #52

Open
huynit87 opened this issue Aug 22, 2023 · 2 comments
Open

current-context is not set #52

huynit87 opened this issue Aug 22, 2023 · 2 comments

Comments

@huynit87
Copy link

hi
i get an issue "current-context is not set",
kubectl sheel error
how can i fix it

@kvaps
Copy link
Owner

kvaps commented Aug 22, 2023

kubectl config current-context

should work, try:

kubectl get-contexts
kubectl use-context <context>

@huynit87
Copy link
Author

yes.
but i using kubectl inside pod, i want using node-shell to get status of another pod in namespace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants