az acs kubernetes install-cli should default to %programfiles%\kubernetes\kubectl.exe
See original GitHub issueAccording 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:
- Created 7 years ago
- Reactions:6
- Comments:10 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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
And should be added to PATH