Skip to content

Latest commit

 

History

History
61 lines (35 loc) · 2.27 KB

File metadata and controls

61 lines (35 loc) · 2.27 KB

Prerequisites

Client

OSX, Linux and Windows are all supported. Windows commands should be run in Powershell. Where commands differ between platforms it will be noted.

IBM Cloud Platform

This tutorial leverages the IBM Cloud Platform to streamline provisioning of the compute infrastructure required to bootstrap a Kubernetes cluster from the ground up. Sign up. Note that it is possible to gain up to $1200 credit on new accounts using a quick search in Google

TBC Estimated cost to run this tutorial: $0.22 per hour ($5.39 per day).

The compute resources required for this tutorial exceed the Google Cloud Platform free tier.

IBM Cloud CLI

Install the IBM Cloud CLI

Follow the IBM Cloud CLI documentation to install and configure the ibmcloud command line utility.

Verify the Google Cloud SDK version is 218.0.0 or higher:

ibmcloud -v

Set a Default Compute Region and Zone

This tutorial assumes a default compute region and zone have been configured.

If you are using the gcloud command-line tool for the first time init is the easiest way to do this:

gcloud init

Otherwise set a default compute region:

gcloud config set compute/region us-west1

Set a default compute zone:

gcloud config set compute/zone us-west1-c

Use the gcloud compute zones list command to view additional regions and zones.

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