question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

az acs kubernetes install-cli should default to %programfiles%\kubernetes\kubectl.exe

See original GitHub issue

According to the docs: az acs kubernetes install-cli installs to C:\Program Files\kubectl.exe Installs should not place exe’s in the root of program files. They should be placed in a sub directory. Suggest: C:\Program Files\kubernetes\kubectl.exe Or, since this requires administrative privileges, perhaps install in a per user directory, that’s already on path.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:6
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
dazdazcommented, Dec 2, 2017

I have the same issue with az cli 2.0.21, my workaround is

I copied kubectl.exe into C:\Program Files\Microsoft SDKs\Azure.NET SDK\v2.9\bin

2reactions
sergiomcalzadacommented, Mar 4, 2017

And should be added to PATH

Read more comments on GitHub >

github_iconTop Results From Across the Web

Quickstart: Deploy an AKS cluster by using Azure CLI
Learn how to quickly create a Kubernetes cluster, deploy an application, ... Install kubectl locally using the az aks install-cli command:.
Read more >
azure-cli-acs - PyPI
Microsoft Azure Command-Line Tools ACS Command Module. ... az acs/aks install-cli will install to under %USERPROFILE%.azure-kubectl on Windows.
Read more >
Can not find kubectl executable in PATH - Server Fault
You need to install kubectl in your azure cli. Run this command: az aks install-cli. Then add "C:\Users{user}.azure-kubectl" to your PATH in ...
Read more >
CI/CD with Kubernetes on ACS - Part 2 - Creating ACS and ACR
You can do that by running the following: sudo az acs kubernetes install-cli. This installs kubectl to /usr/local/bin/kubectl by default, ...
Read more >
Install Kubernetes, kubectl on your development computer
Learn about several choices you have to install Kubernetes and to use ... run the command wsl.exe --set-default-version 2 in PowerShell ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found