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

Error: kubelogin is not installed #167

Open
charris-msft opened this issue Aug 23, 2024 · 1 comment
Open

Error: kubelogin is not installed #167

charris-msft opened this issue Aug 23, 2024 · 1 comment

Comments

@charris-msft
Copy link

Describe the bug
I deployed the template, but when it got done provisioning the resources I got the following error:

ERROR: error executing step command 'provision': deployment failed: failed invoking event handlers for 'postprovision', required external tools are missing:
 - kubelogin is not installed, see https://aka.ms/azure-dev/kubelogin-install to install

To Reproduce
Steps to reproduce the behavior:

  1. Don't have kubelogin installed
  2. Run azd up
  3. See error

Expected behavior
I expect the template to install any dependencies that it needs, or to inform me before provisioning that a dependency is missing.

Screenshots

Image

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser Na
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@charris-msft
Copy link
Author

charris-msft commented Aug 23, 2024

I could not get around the error in VS Code even after restarting. But when I ran azd up from the terminal, I got past that error and ran into another:

Deploying services (azd deploy)

  (x) Failed: Deploying service demo

ERROR: error executing step command 'deploy --all': failed deploying service 'demo': helm deployment failed: Helm support is not enabled. Run 'azd config set alpha.aks.helm on' to enable it.

and then I hit this error:

Packaging services (azd package)


ERROR: error executing step command 'package --all': required external tools are missing:
 - helm is not installed, see https://aka.ms/azure-dev/helm-install to install

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

No branches or pull requests

1 participant