Skip to content

Latest commit

 

History

History
43 lines (24 loc) · 2.17 KB

01-prerequisites.md

File metadata and controls

43 lines (24 loc) · 2.17 KB

Prerequisites

Microsoft Azure

This tutorial leverages the Microsoft Azure to streamline provisioning of the compute infrastructure required to bootstrap a Kubernetes cluster from the ground up. Sign up for $200 in free credits. In Azure Free Trial there is a limit of 4 Cores available, therefore tutorial instructions must be changed to create 4 nodes instead of 6 (2 controllers and 2 workers).

Estimated cost to run this tutorial: $0.4 per hour ($10 per day).

The compute resources required for this tutorial will not exceed the Microsoft Azure free tier.

Microsoft Azure Cloud Platform SDK

Install the Microsoft Azure CLI 2.0

Follow the Microsoft Azure CLI 2.0 documentation to install and configure the az command line utility.

Verify the Microsoft Azure CLI 2.0 version is 2.1.0 or higher:

az --version

Create a default Resource Group in a location

The guide assumes you've installed the Azure CLI 2.0, and will be creating resources in the eastus2 location, within a resource group named kubernetes. To create this resource group, simply run the following command:

az group create -n kubernetes -l eastus2

Use the az account list-locations command to view additional locations.

Running Commands in Parallel with tmux

tmux can be used to run commands on multiple compute instances at the same time. Labs in this tutorial may require running the same commands across multiple compute instances, in those cases consider using tmux and splitting a window into multiple panes with synchronize-panes enabled to speed up the provisioning process.

The use of tmux is optional and not required to complete this tutorial.

tmux screenshot

Enable synchronize-panes: ctrl+b then shift :. Then type set synchronize-panes on at the prompt. To disable synchronization: set synchronize-panes off.

Next: Installing the Client Tools