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

VS Extension showing please install kubectl #613

Closed
bappy776 opened this issue Aug 8, 2021 · 4 comments · Fixed by #630
Closed

VS Extension showing please install kubectl #613

bappy776 opened this issue Aug 8, 2021 · 4 comments · Fixed by #630
Assignees
Milestone

Comments

@bappy776
Copy link

bappy776 commented Aug 8, 2021

Environment
VS Code version: 1.59.0
OS: darwin
Extension version: 0.18.0

Screen Shot 2021-08-08 at 3 51 06 pm

@skv-patrik
Copy link

Same error for me:
VS Code version: 1.59.1
OS: win32
Extension version: 0.18.0

This was suppose to be solved here #582, but I'm afraid that the issue remains.

@sudhirverma sudhirverma self-assigned this Aug 31, 2021
@sudhirverma
Copy link
Contributor

sudhirverma commented Aug 31, 2021

We don't install kubectl from this extension if kubectl or oc command are not found in the path then we show the message to install kubectl. We recommend the user to install it manually.

This was suppose to be solved here #582, but I'm afraid that the issue remains.

That issue was related to Fallback on oc if kubectl not found in path and if both commands are not found then it shows the warning message to install kubectl.

@skv-patrik
Copy link

We don't install kubectl from this extension. We recommend the user to install it manually.

This was suppose to be solved here #582, but I'm afraid that the issue remains.

That issue was related to Fallback on oc if kubectl not found in path and if both commands are not found then it shows the warning message to install kubectl.

I have oc installed on my workstation, how do I add it to the path so VS code can find it?

@skv-patrik
Copy link

We don't install kubectl from this extension. We recommend the user to install it manually.

This was suppose to be solved here #582, but I'm afraid that the issue remains.

That issue was related to Fallback on oc if kubectl not found in path and if both commands are not found then it shows the warning message to install kubectl.

I have oc installed on my workstation, how do I add it to the path so VS code can find it?

Issues solved like this (windows):

  • Added the path to oc.exe to the global PATH environment settings on windows
  • Start VS Code
  • Go to File->Preferences->Settings
  • Klick the Open Settings (JSON) button in the upper right corner
  • Add this to the file:
{
    "terminal.integrated.env.windows": {
        "PATH": "${env:PATH}"
    },
}

@mohitsuman mohitsuman added this to the 0.20.0 milestone Sep 2, 2021
@mohitsuman mohitsuman modified the milestones: 0.20.0, 1.0.0 Nov 17, 2021
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

Successfully merging a pull request may close this issue.

4 participants