website icon indicating copy to clipboard operation
website copied to clipboard

Install and Set Up kubectl on Windows

Open PaulaMihalcea opened this issue 4 years ago • 4 comments

Hello,

I have recently installed kubectl on Windows 10 using curl and I have noticed that there is a slight error at step 3. Namely, the line says:

"Add the binary in to your PATH."

when it really should be:

"Add the binary's folder to your PATH."

I have tested it a few times and indeed, adding \path_to_kubectl\kubectl.exe to PATH does not work, while simply adding \path_to_kubectl\ yields the correct result (i.e. being able to invoke kubectl commands from the command prompt).

I know it is a minor issue but for beginners (like myself) it could make the difference between completing the installation or not.

Even though I have not tried other methods of installation, I suspect that the same step should also be corrected in section Install kubectl convert plugin, where it also says "Add the binary in to your PATH."

Best regards, Paula

PaulaMihalcea avatar Jan 14 '22 07:01 PaulaMihalcea

/triage accepted

Similar issue exists in "Install kubectl binary with curl on Linux" section.

and then add ~/.local/bin/kubectl to $PATH


cf. In "Install and Set Up kubectl on macOS" page:

image

jihoon-seo avatar Jan 14 '22 08:01 jihoon-seo

add ~/.local/bin/kubectl to $PATH

is kind of techie vernacular (it's how I'd say it in spoken English to a colleague), but in technical docs we can be more precise. /language en

sftim avatar Jan 14 '22 10:01 sftim

Hi, I would like to work on this issue. /assign

Babapool avatar Jan 14 '22 11:01 Babapool

/sig windows

mehabhalodiya avatar Jan 26 '22 06:01 mehabhalodiya