Get Kubernetes+Docker Container Platform on Azure

A man standing on top of a mountain — Le Ngoc Tan

Table of Contents

1. Create Application ID

1) Go to Azure Active DirectoryApp registrations and click New application registration

2) Name your app and URL then click Create

3) Note the Application ID and click Settings

4) Go to Keys. Fill in key description and expires then click Save

5) Note the secret key generated

6) Go to your SubscriptionAccess control (IAM) and click Add

7) Add your new app with role at least Contributor

2. Deploy Azure Container Service

1) Go to Marketplace and search for ACS. Select and click Create.

2) Name your service and resource group

3) Select Kubernetes as the orchestrator. Complete other fields and fill Application ID in Service principal client ID and Secret key in client secret.

4) Select agent size. (This size is only for agents but not the master so you may need to resize the master after deploy)

5) On the summary page, click Deploy. This may take ~15–20 minutes.

6) After the deployment is done, here are the resources you get:

3. Connect to the Master

1) Select the master VM and click Connect to see SSH command.

2) Once connected, try to see the kubectl’s version using kubectl version

$ kubectl version
Client Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.7", GitCommit:"8e1552342355496b62754e61ad5f802a0f3f1fa7", GitTreeState:"clean", BuildDate:"2017-09-28T23:56:03Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.7", GitCommit:"8e1552342355496b62754e61ad5f802a0f3f1fa7", GitTreeState:"clean", BuildDate:"2017-09-28T23:56:03Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}

Like what you read? Give Chairat Onyaem a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.