0
votes

I am trying to spin up a Kubernetes cluster using my Microsoft Azure account. I'm following this guide:

https://github.com/kubernetes/kubernetes/blob/release-1.0/docs/getting-started-guides/coreos/azure/README.md#lets-go

At some point, the guide instructs to execute this command:

./azure-login.js -u <your_username>

I am pretty new to Azure, and I don't know what this username is. I have an e-mail that I use to login to the Azure Portal, where I can start virtual machines.

2

2 Answers

0
votes

The issue was that apparently one needs to have an organization account in order to use the Azure CLI tool. I had set up my account as an individual, with an e-mail address, so the tool wasn't working.

The solution was to convert my account to an organizational one by playing with the Active Directory service here, as explained here:

https://azure.microsoft.com/en-us/documentation/articles/resource-group-create-work-id-from-personal/

-1
votes

A simple peek at azure-login.js (located in the same folder as the link you posted) shows:

require('child_process').fork('node_modules/azure-cli/bin/azure', ['login'].concat(process.argv));

So... it's calling the azure cli: azure login username

And username would be your email address for your Azure subscription (the same email address you'd login with in the portal). You'd then be prompted for your password.