kubectl-node-shell icon indicating copy to clipboard operation
kubectl-node-shell copied to clipboard

current-context is not set

Open huynit87 opened this issue 2 years ago • 2 comments

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

huynit87 avatar Aug 22 '23 04:08 huynit87

kubectl config current-context

should work, try:

kubectl get-contexts
kubectl use-context <context>

kvaps avatar Aug 22 '23 06:08 kvaps

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

huynit87 avatar Aug 22 '23 09:08 huynit87