Skip to content

Latest commit

 

History

History
71 lines (49 loc) · 2.02 KB

File metadata and controls

71 lines (49 loc) · 2.02 KB

0. Getting Started

Prerequisites

The following are the basic requirements to start the workshop.

Instructions

  1. Login to Azure Portal at http://portal.azure.com.

  2. Open the Azure Cloud Shell and choose Bash Shell (do not choose Powershell)

    img-cloud-shell

  3. The first time Cloud Shell is started will require you to create a storage account.

  4. Once your cloud shell is started, clone the workshop repo into the cloud shell environment

    git clone https://github.com/tigera-solutions/cc-aks-compliance.git && \
    cd cc-aks-compliance

    Note: In the cloud shell, you are automatically logged into your Azure subscription.

  5. Ensure you are using the correct Azure subscription you want to deploy AKS to.

    View subscriptions

    az account list

    Verify selected subscription

    az account show

    Set correct subscription (if needed)

    az account set --subscription <subscription_id>

    Verify correct subscription is now set

    az account show
  6. Configure the kubectl autocomplete.

    source <(kubectl completion bash) # set up autocomplete in bash into the current shell, bash-completion package should be installed first.
    echo "source <(kubectl completion bash)" >> ~/.bashrc # add autocomplete permanently to your bash shell.

    You can also use a shorthand alias for kubectl that also works with completion:

    alias k=kubectl
    complete -o default -F __start_kubectl k
    echo "alias k=kubectl"  >> ~/.bashrc
    echo "complete -o default -F __start_kubectl k" >> ~/.bashrc

➡️ 1. Deploy AKS

↩️ Back to Main