Prerequisites

To complete this workshop you will require:

  • A GitHub account
  • An Azure subscription that has been configured with the required resource providers enabled
  • Azure Cloud Shell using Bash configured (with storage) in your chosen Azure subscription
  • Command line tools:
    • The Azure CLI installed locally
    • The Kubernetes command line tool (kubectl) installed locally
    • The Azure Kubelogin command line utility
    • Optionally:
      • The Kubernetes context switcher (kubectx and kubens) for switching between clusters and namespaces
      • The k9s terminal-based app for managing your clusters
      • The Azure Account and Azure Resources extensions in VS Code to allow for Cloud Shell usage within the VS Code terminal
Important

Please work through the pages in this section to ensure you cover off all pre-requisite steps.

Tip

If you struggle to install any of these components, try opening Company Portal (or your company’s equivalent internal software repository) and searching in there for the missing packages.

The simplest way to get an environment with all the pre-requisites installed is to create a CodeSpace against the repository . We have configured a devcontainer which will take care of installing all the tools for you.

To validate you have the required tools installed, please run the script below in your terminal of choice:

irm https://microsoft.github.io/k8s-on-azure-workshop/scripts/check-pre-req.ps1 | iex
curl -fsSL https://microsoft.github.io/k8s-on-azure-workshop/scripts/check-pre-req.sh | bash

Ready? Let’s dive straight in!

Info

For the labs in this workshop we have included instructions for several command line tools:

  • Azure CLI in PowerShell, suitable for Windows or Linux
  • Azure CLI in Bash, suitable for Linux
  • Azure PowerShell Cmdlets in PowerShell, suitable for Windows of Linux